summaryrefslogtreecommitdiff
path: root/spec/integration/rails-without-dependency/integration_spec.rb
blob: 650370de499901b91d648c5219c21a93f219b379 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
require 'rspec/core'

RSpec.describe 'partial-rails' do
  context 'when Rails constant is present but the railties are not' do
    before(:all) do
      class Rails
        # A class about railways
      end
    end

    it 'does not raise an exception when we require hashie' do
      expect { require 'hashie' }.not_to raise_error
    end
  end
end