summaryrefslogtreecommitdiff
path: root/spec/helpers/application_helper_spec.rb
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-08-30 18:46:21 -0400
committerRobert Speicher <rspeicher@gmail.com>2015-08-30 18:46:21 -0400
commit7d7f0a2954a524049d9faa167d13e2aebf16fc5f (patch)
tree08b6770ad09854a75e5c385ac29354c7f363d337 /spec/helpers/application_helper_spec.rb
parente42388f83cef283aef31d59cc72ea288ddb509fd (diff)
downloadgitlab-ci-7d7f0a2954a524049d9faa167d13e2aebf16fc5f.tar.gz
Use `eq` instead of `==` in matchers
Diffstat (limited to 'spec/helpers/application_helper_spec.rb')
-rw-r--r--spec/helpers/application_helper_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/helpers/application_helper_spec.rb b/spec/helpers/application_helper_spec.rb
index c2b1058..4e2ba8d 100644
--- a/spec/helpers/application_helper_spec.rb
+++ b/spec/helpers/application_helper_spec.rb
@@ -11,12 +11,12 @@ describe ApplicationHelper do
}
intervals_in_words.each do |interval, expectation|
- duration_in_words(Time.now + interval, Time.now).should == expectation
+ duration_in_words(Time.now + interval, Time.now).should eq expectation
end
end
it "calculates interval from now if there is no finished_at" do
- duration_in_words(nil, Time.now - 5).should == "5 seconds"
+ duration_in_words(nil, Time.now - 5).should eq "5 seconds"
end
end
@@ -30,7 +30,7 @@ describe ApplicationHelper do
}
intervals_in_words.each do |interval, expectation|
- time_interval_in_words(interval).should == expectation
+ time_interval_in_words(interval).should eq expectation
end
end
end