Sha256: 92f70121e987cb921ccebf56a7212e753e3f6a8204e06206f122d9c7b621c97d

Contents?: true

Size: 482 Bytes

Versions: 10

Compression:

Stored size: 482 Bytes

Contents

require 'spec_helper'

describe "settings/show" do
  before(:each) do
    @setting = assign(:setting, stub_model(Setting,
      :key => "Key",
      :value => "Value"
    ))
  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(/Key/)
    # Run the generator again with the --webrat flag if you want to use webrat matchers
    rendered.should match(/Value/)
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
kuztuscms-0.0.10 spec/views/kuztuscms/settings/show.html.erb_spec.rb
kuztuscms-0.0.9 spec/views/kuztuscms/settings/show.html.erb_spec.rb
kuztuscms-0.0.8 spec/views/kuztuscms/settings/show.html.erb_spec.rb
kuztuscms-0.0.7 spec/views/kuztuscms/settings/show.html.erb_spec.rb
kuztuscms-0.0.6 spec/views/kuztuscms/settings/show.html.erb_spec.rb
kuztuscms-0.0.5 spec/views/kuztuscms/settings/show.html.erb_spec.rb
kuztuscms-0.0.4 spec/views/kuztuscms/settings/show.html.erb_spec.rb
kuztuscms-0.0.3 spec/views/kuztuscms/settings/show.html.erb_spec.rb
kuztuscms-0.0.2 spec/views/kuztuscms/settings/show.html.erb_spec.rb
kuztuscms-0.0.1 spec/views/kuztuscms/settings/show.html.erb_spec.rb