Sha256: dde3bc9208a93bf13f9b284721951283da693a3119566237fdedd788b2decb03

Contents?: true

Size: 807 Bytes

Versions: 18

Compression:

Stored size: 807 Bytes

Contents

require 'spec_helper'

describe "checkout_types/show" do
  before(:each) do
    @checkout_type = assign(:checkout_type, stub_model(CheckoutType,
      :name => "Name",
      :display_name => "MyText",
      :note => "MyText",
      :position => 1
    ))
  end

  it "renders attributes in <p>" do
    render
    # Run the generator again with the --webrat flag if you want to use webrat matchers
    rendered.should match(/Name/)
    # Run the generator again with the --webrat flag if you want to use webrat matchers
    rendered.should match(/MyText/)
    # Run the generator again with the --webrat flag if you want to use webrat matchers
    rendered.should match(/MyText/)
    # Run the generator again with the --webrat flag if you want to use webrat matchers
    rendered.should match(/1/)
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
enju_circulation-0.1.2 spec/views/checkout_types/show.html.erb_spec.rb
enju_circulation-0.1.1 spec/views/checkout_types/show.html.erb_spec.rb
enju_circulation-0.1.0 spec/views/checkout_types/show.html.erb_spec.rb
enju_circulation-0.1.0.pre49 spec/views/checkout_types/show.html.erb_spec.rb
enju_circulation-0.1.0.pre48 spec/views/checkout_types/show.html.erb_spec.rb
enju_circulation-0.1.0.pre47 spec/views/checkout_types/show.html.erb_spec.rb
enju_circulation-0.1.0.pre46 spec/views/checkout_types/show.html.erb_spec.rb
enju_circulation-0.1.0.pre45 spec/views/checkout_types/show.html.erb_spec.rb
enju_circulation-0.1.0.pre44 spec/views/checkout_types/show.html.erb_spec.rb
enju_circulation-0.1.0.pre43 spec/views/checkout_types/show.html.erb_spec.rb
enju_circulation-0.1.0.pre42 spec/views/checkout_types/show.html.erb_spec.rb
enju_circulation-0.1.0.pre41 spec/views/checkout_types/show.html.erb_spec.rb
enju_circulation-0.1.0.pre40 spec/views/checkout_types/show.html.erb_spec.rb
enju_circulation-0.1.0.pre39 spec/views/checkout_types/show.html.erb_spec.rb
enju_circulation-0.1.0.pre38 spec/views/checkout_types/show.html.erb_spec.rb
enju_circulation-0.1.0.pre37 spec/views/checkout_types/show.html.erb_spec.rb
enju_circulation-0.1.0.pre36 spec/views/checkout_types/show.html.erb_spec.rb
enju_circulation-0.1.0.pre35 spec/views/checkout_types/show.html.erb_spec.rb