Sha256: f78b616fa4d61792d24c20d3539617ba03700d7ca3ac2f9a7c08e1b7b9a3c49d

Contents?: true

Size: 418 Bytes

Versions: 3

Compression:

Stored size: 418 Bytes

Contents

require "spec_helper"

module RSpec::Rails
  describe RoutingExampleGroup do
    it { should be_included_in_files_in('./spec/routing/') }
    it { should be_included_in_files_in('.\\spec\\routing\\') }

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rspec-rails-2.0.0.beta.19 spec/rspec/rails/example/routing_example_group_spec.rb
rspec-rails-2.0.0.beta.18 spec/rspec/rails/example/routing_example_group_spec.rb
rspec-rails-2.0.0.beta.17 spec/rspec/rails/example/routing_example_group_spec.rb