Sha256: 460af1b85c22e0b2d33b6d6eb71b56201d1b0d0637ae5c90103e76006cff2e78
Contents?: true
Size: 333 Bytes
Versions: 8
Compression:
Stored size: 333 Bytes
Contents
require 'spec_helper' describe RSpecSystem::Result do it 'should allow you to query using methods' do result = subject.class.new(:foo => 'bar') result.foo.should == 'bar' end it 'should allow you to query using hash queries' do result = subject.class.new(:foo => 'bar') result[:foo].should == 'bar' end end
Version data entries
8 entries across 8 versions & 1 rubygems