Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixing specs for all versions of Ruby.

  • Loading branch information...
commit 1a27b990cfa891dd72dd8c9855473eb0ef7c910b 1 parent 9192a26
@mbleigh mbleigh authored
Showing with 1 addition and 12 deletions.
  1. +1 −0  .travis.yml
  2. +0 −12 spec/hashie/mash_spec.rb
View
1  .travis.yml
@@ -4,3 +4,4 @@ rvm:
- rbx
- ree
- ruby-head
+ - jruby
View
12 spec/hashie/mash_spec.rb
@@ -225,18 +225,6 @@ class SubMash < Hashie::Mash
it 'should respond to a set key' do
Hashie::Mash.new(:abc => 'def').should be_respond_to(:abc)
end
-
- unless defined?(JRUBY_VERSION)
- it "should delegate properly using delegate library" do
- class MashDelegate < DelegateClass(Hashie::Mash)
- end
-
- delegate = MashDelegate.new(Hashie::Mash.new(:foo => 100))
- delegate.foo.should == 100
- delegate.should respond_to(:foo)
- expect { delegate.bar }.to raise_error(NoMethodError)
- end
- end
end
context "#initialize" do
Please sign in to comment.
Something went wrong with that request. Please try again.