summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Herold <michael.j.herold@gmail.com>2015-04-09 10:21:36 -0500
committerMichael Herold <michael.j.herold@gmail.com>2015-04-09 10:21:36 -0500
commit7afeffc56fa098fe3ff215017c124ce6e7d7d6c3 (patch)
treeffe3040ab26cf092abfbb98cdee7d9c247adf5ad
parenta2c3f591dd381aa56f6191bacec9d2929ebac0b8 (diff)
downloadhashie-7afeffc56fa098fe3ff215017c124ce6e7d7d6c3.tar.gz
Fix comment to link to bug
-rw-r--r--spec/hashie/mash_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/hashie/mash_spec.rb b/spec/hashie/mash_spec.rb
index d6813cf..42ef67f 100644
--- a/spec/hashie/mash_spec.rb
+++ b/spec/hashie/mash_spec.rb
@@ -348,7 +348,7 @@ describe Hashie::Mash do
expect(subject).to be_respond_to(:"abc#{suffix}")
end
- # it seems for ruby 2.2 :"abc#{suffix}" !== :"abc#{'='}" internally
+ # for ruby 2.2 - https://github.com/intridea/hashie/pull/285
expect(subject.method(:"abc#{'='}")).to_not be_nil
expect(subject.method(:"abc#{'?'}")).to_not be_nil
expect(subject.method(:"abc#{'!'}")).to_not be_nil
@@ -360,7 +360,7 @@ describe Hashie::Mash do
expect(subject).to be_respond_to(:"xyz#{suffix}")
end
- # it seems for ruby 2.2 :"abc#{suffix}" !== :"abc#{'='}" internally
+ # for ruby 2.2 - https://github.com/intridea/hashie/pull/285
expect(subject.method(:"xyz#{'='}")).to_not be_nil
expect(subject.method(:"xyz#{'?'}")).to_not be_nil
expect(subject.method(:"xyz#{'!'}")).to_not be_nil