Sha256: 33d044cc4c3ea86da58861266b92585b74402d6393a74452cf37175442e554dd
Contents?: true
Size: 469 Bytes
Versions: 10
Compression:
Stored size: 469 Bytes
Contents
require 'spec_helper' # Some gems that are actually compatible with RSpec 1 define RSpec, # so make sure we don't detect on that. module ::RSpec end describe RSpecCandy::Switcher do describe "#rspec_version" do it "should detect rspec1" do RSpecCandy::Switcher.rspec_version.should == :rspec1 end end describe '#rspec_root' do it 'should return the Spec module' do RSpecCandy::Switcher.rspec_root.should == Spec end end end
Version data entries
10 entries across 10 versions & 1 rubygems