Sha256: 521c9a42d24f518f40f83924bfee09d701310561005f012bfa2afd665688d821

Contents?: true

Size: 438 Bytes

Versions: 61

Compression:

Stored size: 438 Bytes

Contents

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

describe "A shared view example_group", :shared => true do
  it "should have some tag with some text" do
    response.should have_tag('div', 'This is text from a method in the ViewSpecHelper')
  end
end

describe "A view example_group", :type => :view do
  it_should_behave_like "A shared view example_group"
  
  before(:each) do
    render "view_spec/implicit_helper"
  end
end
  

Version data entries

61 entries across 61 versions & 10 rubygems

Version Path
rspec-rails-1.1.5 spec/rails/example/shared_behaviour_spec.rb
rspec-rails-1.1.8 spec/rails/example/shared_behaviour_spec.rb
rspec-rails-1.1.6 spec/rails/example/shared_behaviour_spec.rb
spree-0.0.8 starter-app/vendor/plugins/rspec_on_rails/spec/rails/example/shared_behaviour_spec.rb
spree-0.0.9 vendor/plugins/rspec_on_rails/spec/rails/example/shared_behaviour_spec.rb
spree-0.2.0 vendor/plugins/rspec_on_rails/spec/rails/example/shared_behaviour_spec.rb
spree-0.4.0 vendor/plugins/rspec-rails/spec/rails/example/shared_behaviour_spec.rb
spree-0.4.1 vendor/plugins/rspec-rails/spec/rails/example/shared_behaviour_spec.rb
spree-0.5.0 vendor/plugins/rspec-rails/spec/rails/example/shared_behaviour_spec.rb
spree-0.5.1 vendor/plugins/rspec-rails/spec/rails/example/shared_behaviour_spec.rb
typo-5.0.2 vendor/plugins/rspec_on_rails/spec/rails/example/shared_behaviour_spec.rb
typo-5.0.1 vendor/plugins/rspec_on_rails/spec/rails/example/shared_behaviour_spec.rb
typo-5.0.3.98.1 vendor/plugins/rspec_on_rails/spec/rails/example/shared_behaviour_spec.rb
typo-5.0.3.98 vendor/plugins/rspec_on_rails/spec/rails/example/shared_behaviour_spec.rb
typo-5.0 vendor/plugins/rspec_on_rails/spec/rails/example/shared_behaviour_spec.rb
typo-5.1.1 vendor/plugins/rspec_on_rails/spec/rails/example/shared_behaviour_spec.rb
typo-5.1.2 vendor/plugins/rspec_on_rails/spec/rails/example/shared_behaviour_spec.rb
typo-5.1.3 vendor/plugins/rspec_on_rails/spec/rails/example/shared_behaviour_spec.rb
typo-5.1 vendor/plugins/rspec_on_rails/spec/rails/example/shared_behaviour_spec.rb
typo-5.1.98 vendor/plugins/rspec-rails/spec/rails/example/shared_behaviour_spec.rb