Sha256: 793bf4bc96b1d65d2e7ec85a68554112e258a07e6fd249fb7c095622fce37c29

Contents?: true

Size: 476 Bytes

Versions: 64

Compression:

Stored size: 476 Bytes

Contents

require File.dirname(__FILE__) + '/../../spec_helper'

module Spec
  module Rails
    module Example
      describe ModelExampleGroup do
        it "should clear its name from the description" do
          group = describe("foo", :type => :model) do
            $nested_group = describe("bar") do
            end
          end
          group.description.to_s.should == "foo"
          $nested_group.description.to_s.should == "foo bar"
        end
      end
    end
  end
end

Version data entries

64 entries across 64 versions & 10 rubygems

Version Path
dchelimsky-rspec-rails-1.1.10 spec/rails/example/model_spec_spec.rb
dchelimsky-rspec-rails-1.1.11.1 spec/rails/example/model_spec_spec.rb
dchelimsky-rspec-rails-1.1.11.2 spec/rails/example/model_spec_spec.rb
dchelimsky-rspec-rails-1.1.11.3 spec/rails/example/model_spec_spec.rb
dchelimsky-rspec-rails-1.1.11 spec/rails/example/model_spec_spec.rb
dchelimsky-rspec-rails-1.1.6 spec/rails/example/model_spec_spec.rb
dchelimsky-rspec-rails-1.1.7 spec/rails/example/model_spec_spec.rb
dchelimsky-rspec-rails-1.1.8 spec/rails/example/model_spec_spec.rb
dchelimsky-rspec-rails-1.1.9 spec/rails/example/model_spec_spec.rb
jcnetdev-rspec-rails-1.1.5 spec/rails/example/model_spec_spec.rb
jnstq-acts_as_sms-0.1.0 test/vendor/plugins/rspec-rails/spec/rails/example/model_spec_spec.rb
jnstq-acts_as_sms-0.1.1 test/vendor/plugins/rspec-rails/spec/rails/example/model_spec_spec.rb
jnstq-acts_as_sms-0.1.3 test/vendor/plugins/rspec-rails/spec/rails/example/model_spec_spec.rb
jnstq-acts_as_sms-0.1.4 test/vendor/plugins/rspec-rails/spec/rails/example/model_spec_spec.rb
jstorimer-deep-test-2.0.0 sample_rails_project/vendor/plugins/rspec_on_rails/spec/rails/example/model_spec_spec.rb
jstorimer-deep-test-1.4.0 sample_rails_project/vendor/plugins/rspec_on_rails/spec/rails/example/model_spec_spec.rb
jstorimer-deep-test-1.3.0 sample_rails_project/vendor/plugins/rspec_on_rails/spec/rails/example/model_spec_spec.rb
jstorimer-deep-test-1.2.0 sample_rails_project/vendor/plugins/rspec_on_rails/spec/rails/example/model_spec_spec.rb
jstorimer-deep-test-1.1.0 sample_rails_project/vendor/plugins/rspec_on_rails/spec/rails/example/model_spec_spec.rb
jstorimer-deep-test-1.0.0 sample_rails_project/vendor/plugins/rspec_on_rails/spec/rails/example/model_spec_spec.rb