Sha256: c863f8bf732c57d402c3364ca9885b6e78c8ff609d13ac32bfb943a486299544

Contents?: true

Size: 666 Bytes

Versions: 29

Compression:

Stored size: 666 Bytes

Contents

describe "Fortitude spec environment" do
  # This may seem like a weird spec, but we REALLY don't want to be running Fortitude's built-in specs with Rails
  # available -- because we want to make really sure Fortitude doesn't end up with any kind of Rails dependency
  # in it. So we added this spec to make sure the specs fail if Rails somehow *is* available.
  #
  # Fortitude has lots and lots of Rails-specific tests, but those run in a separate process with a separate Gemfile,
  # and thus don't need Rails available at the overall Fortitude level.
  it "should not have Rails available" do
    expect { ::Rails }.to raise_error(NameError, /Rails/i)
  end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
fortitude-0.9.6-java spec/system/rails_not_available_spec.rb
fortitude-0.9.6 spec/system/rails_not_available_spec.rb
fortitude-0.9.5-java spec/system/rails_not_available_spec.rb
fortitude-0.9.5 spec/system/rails_not_available_spec.rb
fortitude-0.9.4-java spec/system/rails_not_available_spec.rb
fortitude-0.9.4 spec/system/rails_not_available_spec.rb
fortitude-0.9.3-java spec/system/rails_not_available_spec.rb
fortitude-0.9.3 spec/system/rails_not_available_spec.rb
fortitude-0.9.2-java spec/system/rails_not_available_spec.rb
fortitude-0.9.2 spec/system/rails_not_available_spec.rb
fortitude-0.9.1-java spec/system/rails_not_available_spec.rb
fortitude-0.9.1 spec/system/rails_not_available_spec.rb
fortitude-0.9.0-java spec/system/rails_not_available_spec.rb
fortitude-0.9.0 spec/system/rails_not_available_spec.rb
fortitude-0.0.10-java spec/system/rails_not_available_spec.rb
fortitude-0.0.10 spec/system/rails_not_available_spec.rb
fortitude-0.0.9-java spec/system/rails_not_available_spec.rb
fortitude-0.0.9 spec/system/rails_not_available_spec.rb
fortitude-0.0.7-java spec/system/rails_not_available_spec.rb
fortitude-0.0.7 spec/system/rails_not_available_spec.rb