summaryrefslogtreecommitdiff
path: root/spec/hashie
diff options
context:
space:
mode:
authorjustfalter <falter@gmail.com>2014-06-27 11:01:55 -0500
committerMichael Herold <michael.j.herold@gmail.com>2014-07-23 22:12:38 -0500
commit3bc7a49ea24b5a97b974cc5f0386573360276533 (patch)
tree3c125fa39f8c9057eff5c2ddc79aab13d773993b /spec/hashie
parent4fc08e7b0113aaba84aed31adc7484bef2e75b32 (diff)
downloadhashie-3bc7a49ea24b5a97b974cc5f0386573360276533.tar.gz
Stop rubocop from complaining
Diffstat (limited to 'spec/hashie')
-rw-r--r--spec/hashie/extensions/indifferent_access_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/hashie/extensions/indifferent_access_spec.rb b/spec/hashie/extensions/indifferent_access_spec.rb
index eb72262..bd13ff6 100644
--- a/spec/hashie/extensions/indifferent_access_spec.rb
+++ b/spec/hashie/extensions/indifferent_access_spec.rb
@@ -66,7 +66,7 @@ describe Hashie::Extensions::IndifferentAccess do
end
it 'returns the same instance of the string that was set' do
- str = "my string"
+ str = 'my string'
h = subject.build(foo: str)
expect(h.values_at(:foo)[0]).to be(str)
end
@@ -98,7 +98,7 @@ describe Hashie::Extensions::IndifferentAccess do
end
it 'returns the same instance of the string that was set' do
- str = "my string"
+ str = 'my string'
h = subject.build(foo: str)
expect(h.fetch(:foo)).to be(str)
end