Sha256: 5fdabf2a1ab61d678024474eba9b0506f8d1d0b4db6324f252e740fb8ec7fa78

Contents?: true

Size: 343 Bytes

Versions: 10

Compression:

Stored size: 343 Bytes

Contents

require 'spec_helper'

describe RSpecCandy::Switcher do

  describe "#rspec_version" do

    it "should detect rspec2" do
      RSpecCandy::Switcher.rspec_version.should == :rspec2
    end

  end

  describe '#rspec_root' do

    it 'should return the RSpec module' do
      RSpecCandy::Switcher.rspec_root.should == RSpec
    end

  end

end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rspec_candy-0.3.1 spec/rspec2/spec/switcher_spec.rb
rspec_candy-0.3.0 spec/rspec2/spec/switcher_spec.rb
rspec_candy-0.2.10 spec/rspec2/spec/switcher_spec.rb
rspec_candy-0.2.9 spec/rspec2/spec/switcher_spec.rb
rspec_candy-0.2.8 spec/rspec2/spec/switcher_spec.rb
rspec_candy-0.2.7 spec/rspec2/spec/switcher_spec.rb
rspec_candy-0.2.6 spec/rspec2/spec/switcher_spec.rb
rspec_candy-0.2.5 spec/rspec2/spec/switcher_spec.rb
rspec_candy-0.2.4 spec/rspec2/spec/switcher_spec.rb
rspec_candy-0.2.3 spec/rspec2/spec/switcher_spec.rb