spec/lib/flapjack/gateways/web/views/index.html.erb_spec.rb in flapjack-0.7.35 vs spec/lib/flapjack/gateways/web/views/index.html.erb_spec.rb in flapjack-0.8.0
- old
+ new
@@ -6,9 +6,9 @@
@states = {'abc-xyz-01' => [['Disk / Utilisation', 'OK', 'Looking good', '-', '-', false, false, nil, nil]]}
@entities_sorted = ['abc-xyz-01']
@adjective = "all"
page = render_erb('checks.html.erb', binding)
- page.should match(%r{\?entity=abc-xyz-01&check=Disk%20%2F%20Utilisation})
+ expect(page).to match(%r{\?entity=abc-xyz-01&check=Disk%20%2F%20Utilisation})
end
end