Skip to content
This repository has been archived by the owner on Mar 9, 2022. It is now read-only.

Commit

Permalink
Fix rspec deprecation
Browse files Browse the repository at this point in the history
Signed-off-by: Eric Malm <emalm@pivotallabs.com>
  • Loading branch information
Aram Price authored and emalm committed Dec 6, 2013
1 parent 86c1201 commit ad55bf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/unit/json_message_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
it 'should define the field to be optional' do
@klass.optional :optional, String
msg = @klass.new
expect { msg.encode }.to_not raise_error(JsonMessage::ValidationError)
expect { msg.encode }.to_not raise_error
end

it 'should define a default value' do
Expand Down

0 comments on commit ad55bf0

Please sign in to comment.