diff options
Diffstat (limited to 'spec/helpers/runners_helper_spec.rb')
-rw-r--r-- | spec/helpers/runners_helper_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/helpers/runners_helper_spec.rb b/spec/helpers/runners_helper_spec.rb index 02d497b..a93032e 100644 --- a/spec/helpers/runners_helper_spec.rb +++ b/spec/helpers/runners_helper_spec.rb @@ -3,16 +3,16 @@ require 'spec_helper' describe RunnersHelper do it "returns - not contacted yet" do runner = FactoryGirl.build :runner - runner_status_icon(runner).should include("not connected yet") + expect(runner_status_icon(runner)).to include("not connected yet") end it "returns offline text" do runner = FactoryGirl.build(:runner, contacted_at: 1.day.ago, active: true) - runner_status_icon(runner).should include("Runner is offline") + expect(runner_status_icon(runner)).to include("Runner is offline") end it "returns online text" do runner = FactoryGirl.build(:runner, contacted_at: 1.hour.ago, active: true) - runner_status_icon(runner).should include("Runner is online") + expect(runner_status_icon(runner)).to include("Runner is online") end end |