Sha256: ea6ee06ee266111c046161292f29f6c7c7de380f7e05cc8a2c80f78e5fd5ddc1
Contents?: true
Size: 558 Bytes
Versions: 129
Compression:
Stored size: 558 Bytes
Contents
require 'spec_helper' describe 'RSpec.configuration.path' do before do RSpec.configure do |c| c.path = 'foo' end end after do RSpec.configure do |c| c.path = nil end end subject { RSpec.configuration.path } it { should eq Specinfra.configuration.path } end Specinfra.configuration.os = 'foo' describe Specinfra.configuration.os do it { should eq 'foo' } end Specinfra.configuration.instance_variable_set(:@os, nil) RSpec.configuration.os = nil describe Specinfra.configuration.os do it { should be_nil } end
Version data entries
129 entries across 129 versions & 1 rubygems