mirror of
https://github.com/fluent/fluentd-ui.git
synced 2026-05-04 18:36:13 +02:00
Following behavior change on spec
This commit is contained in:
parent
effd33e52d
commit
32f104aec7
@ -14,8 +14,8 @@ describe "sessions" do
|
||||
|
||||
context "sign in with exists user" do
|
||||
let(:user) { exists_user }
|
||||
it "login success, then redirect to root_path" do
|
||||
current_path.should == root_path
|
||||
it "login success, then redirect to root_path, and redirect_to fluentd_path from root_path" do
|
||||
current_path.should == fluentd_path
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@ -59,12 +59,12 @@ describe Fluentd::Agent do
|
||||
end
|
||||
|
||||
it "contain stack trace" do
|
||||
subject[0].join.should include("<top (required)>")
|
||||
subject[0][:subject].should include("Address already in use - bind(2)")
|
||||
end
|
||||
|
||||
it "newer(bottom) is first" do
|
||||
one = Time.parse(subject[0].first)
|
||||
two = Time.parse(subject[1].first)
|
||||
one = Time.parse(subject[0][:subject])
|
||||
two = Time.parse(subject[1][:subject])
|
||||
one.should >= two
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user