Sha256: 23c3dcc2d308d8bba314d5f3ad2a34d150bfbdf57ae70d866233f982fc81c3b2

Contents?: true

Size: 344 Bytes

Versions: 2

Compression:

Stored size: 344 Bytes

Contents

require 'spec_helper'

describe "task_types/show" do
  before(:each) do
    @task_type = assign(:task_type, stub_model(TaskType,
      :name => "Name"
    ))
  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/)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
guara-0.0.3 spec/views/task_types/show.html.erb_spec.rb
guara-0.0.1.rc spec/views/task_types/show.html.erb_spec.rb