You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use standard RSpec expect() matchers instead of Wrong
Wrong 0.7.1 raises an exception when loading the `close_to`
matcher. Running specs with `bundle exec` tends to fix
this, but that feels kinda accidental.
You probably still need `bundle exec` if you have multiple
versions of any gem (rake, tilt) installed locally.
Fixesrailsbridge#479
Copy file name to clipboardExpand all lines: spec/app_deck_spec.rb
+5-5
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@
9
9
# todo: move to shared module
10
10
defget! *args
11
11
get *args
12
-
assert{last_response.status == 200}
12
+
expect(last_response.status).toeq(200)
13
13
end
14
14
15
15
defapp
@@ -45,19 +45,19 @@ def app
45
45
it"renders a deck"do
46
46
get!"/meals/breakfast"
47
47
# rendered_breakfast = Deck::SlideDeck.new(:slides => Deck::Slide.split(@breakfast)).to_pretty # for some reason it's not rendering pretty from the app even though the app uses .to_pretty
0 commit comments