Sha256: ac1760c0d39d7c1adbdb7e44d8d27955375c365e3eeac3e08b616078d60fb20f

Contents?: true

Size: 553 Bytes

Versions: 45

Compression:

Stored size: 553 Bytes

Contents

require "spec_helper"

module RSpec::Rails
  describe RequestExampleGroup do
    it { should be_included_in_files_in('./spec/requests/') }
    it { should be_included_in_files_in('./spec/integration/') }
    it { should be_included_in_files_in('.\\spec\\requests\\') }
    it { should be_included_in_files_in('.\\spec\\integration\\') }

    it "adds :type => :request to the metadata" do
      group = RSpec::Core::ExampleGroup.describe do
        include RequestExampleGroup
      end
      group.metadata[:type].should eq(:request)
    end
  end
end

Version data entries

45 entries across 40 versions & 5 rubygems

Version Path
judge-2.0.5 vendor/bundle/ruby/2.1.0/gems/rspec-rails-2.13.0/spec/rspec/rails/example/request_example_group_spec.rb
rspec-rails-2.14.1 spec/rspec/rails/example/request_example_group_spec.rb
rspec-rails-3.0.0.beta1 spec/rspec/rails/example/request_example_group_spec.rb
rspec-rails-2.99.0.beta1 spec/rspec/rails/example/request_example_group_spec.rb
rspec-rails-2.14.0 spec/rspec/rails/example/request_example_group_spec.rb
rspec-rails-2.13.1 spec/rspec/rails/example/request_example_group_spec.rb
rspec-rails-2.13.0 spec/rspec/rails/example/request_example_group_spec.rb
rspec-rails-2.12.2 spec/rspec/rails/example/request_example_group_spec.rb
sunrise-cms-0.5.0.rc1 vendor/bundle/ruby/1.9.1/gems/rspec-rails-2.10.1/spec/rspec/rails/example/request_example_group_spec.rb
rspec-rails-2.12.1 spec/rspec/rails/example/request_example_group_spec.rb
rspec-rails-2.12.0 spec/rspec/rails/example/request_example_group_spec.rb
rspec-rails-2.11.4 spec/rspec/rails/example/request_example_group_spec.rb
gem_repackager-0.1.0 support/gems/rspec-rails-2.11.0/spec/rspec/rails/example/request_example_group_spec.rb
rspec-rails-2.11.0 spec/rspec/rails/example/request_example_group_spec.rb
sunrise-cms-0.3.3 vendor/bundle/ruby/1.9.1/gems/rspec-rails-2.10.1/spec/rspec/rails/example/request_example_group_spec.rb
sunrise-cms-0.3.3 vendor/bundle/ruby/1.9.1/gems/rails-uploader-0.0.1/vendor/bundle/ruby/1.9.1/gems/rspec-rails-2.10.1/spec/rspec/rails/example/request_example_group_spec.rb
sunrise-cms-0.3.2 vendor/bundle/ruby/1.9.1/gems/rspec-rails-2.10.1/spec/rspec/rails/example/request_example_group_spec.rb
sunrise-cms-0.3.2 vendor/bundle/ruby/1.9.1/gems/rails-uploader-0.0.1/vendor/bundle/ruby/1.9.1/gems/rspec-rails-2.10.1/spec/rspec/rails/example/request_example_group_spec.rb
sunrise-cms-0.3.1 vendor/bundle/ruby/1.9.1/gems/rspec-rails-2.10.1/spec/rspec/rails/example/request_example_group_spec.rb
sunrise-cms-0.3.1 vendor/bundle/ruby/1.9.1/gems/rails-uploader-0.0.1/vendor/bundle/ruby/1.9.1/gems/rspec-rails-2.10.1/spec/rspec/rails/example/request_example_group_spec.rb