Skip to content

Commit

Permalink
switch expected_value with actual_value
Browse files Browse the repository at this point in the history
  • Loading branch information
Seth Pollack committed Sep 19, 2014
1 parent 06cad55 commit 167be08
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/airborne/request_expectations.rb
Original file line number Diff line number Diff line change
Expand Up @@ -122,10 +122,9 @@ def expect_json_impl(expectations, hash)
elsif expected_value.class == Regexp
expect(actual_value).to match(expected_value)
else
expect(expected_value).to eq(actual_value)
expect(actual_value).to eq(expected_value)
end
end
end

end
end

0 comments on commit 167be08

Please sign in to comment.