spec/structure/json_spec.rb in structure-0.12.1 vs spec/structure/json_spec.rb in structure-0.12.2

- old
+ new

@@ -24,21 +24,16 @@ describe Structure do let(:person) { Person.new(:name => 'Joe') } let(:json) { '{"json_class":"Person","name":"Joe","age":null,"friends":[]}' } context "without Active Support" do - before(:all) do - require 'structure/json' - end - it_behaves_like "a JSON interface" end context "with Active Support" do before(:all) do require 'active_support/ordered_hash' require 'active_support/json' - load 'structure/json.rb' end after(:all) do Object.send(:remove_const, :ActiveSupport) end