Sha256: 2b69a7be40d3c009d181962d81ab8b7bacb5656874239dae8f85133f0481480b

Contents?: true

Size: 799 Bytes

Versions: 49

Compression:

Stored size: 799 Bytes

Contents

require 'spec_helper'

describe "budget_types/show" do
  before(:each) do
    @budget_type = assign(:budget_type, stub_model(BudgetType,
      :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

49 entries across 49 versions & 1 rubygems

Version Path
enju_library-0.1.2 spec/views/budget_types/show.html.erb_spec.rb
enju_library-0.1.1 spec/views/budget_types/show.html.erb_spec.rb
enju_library-0.1.0 spec/views/budget_types/show.html.erb_spec.rb
enju_library-0.1.0.pre45 spec/views/budget_types/show.html.erb_spec.rb
enju_library-0.1.0.pre44 spec/views/budget_types/show.html.erb_spec.rb
enju_library-0.1.0.pre43 spec/views/budget_types/show.html.erb_spec.rb
enju_library-0.1.0.pre42 spec/views/budget_types/show.html.erb_spec.rb
enju_library-0.1.0.pre41 spec/views/budget_types/show.html.erb_spec.rb
enju_library-0.1.0.pre40 spec/views/budget_types/show.html.erb_spec.rb
enju_library-0.1.0.pre39 spec/views/budget_types/show.html.erb_spec.rb
enju_library-0.1.0.pre38 spec/views/budget_types/show.html.erb_spec.rb
enju_library-0.1.0.pre37 spec/views/budget_types/show.html.erb_spec.rb
enju_library-0.1.0.pre36 spec/views/budget_types/show.html.erb_spec.rb
enju_library-0.1.0.pre35 spec/views/budget_types/show.html.erb_spec.rb
enju_library-0.1.0.pre34 spec/views/budget_types/show.html.erb_spec.rb
enju_library-0.1.0.pre33 spec/views/budget_types/show.html.erb_spec.rb
enju_library-0.1.0.pre32 spec/views/budget_types/show.html.erb_spec.rb
enju_library-0.1.0.pre31 spec/views/budget_types/show.html.erb_spec.rb
enju_library-0.1.0.pre30 spec/views/budget_types/show.html.erb_spec.rb
enju_library-0.1.0.pre29 spec/views/budget_types/show.html.erb_spec.rb