Sha256: 3c57dd45b82e1f71da614be4cc2716675adc2c50bc94894107ff7f1a0edb04aa

Contents?: true

Size: 408 Bytes

Versions: 2

Compression:

Stored size: 408 Bytes

Contents

require 'spec_helper'

describe "rspec-rails-2 deprecations" do
  context "controller specs" do
    describe "::integrate_views" do
      let(:group) do
        RSpec::Core::ExampleGroup.describe do
          include RSpec::Rails::ControllerExampleGroup
        end
      end

      it "is deprecated" do
        expect(RSpec).to receive(:deprecate)
        group.integrate_views
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rspec-rails-3.0.0.beta2 spec/rspec/rails/deprecations_spec.rb
rspec-rails-2.99.0.beta2 spec/rspec/rails/deprecations_spec.rb