Commit 18da412dd811fa124afa6ee256d3ab17ba60b673
1 parent
d97fd2d2
Exists in
master
and in
1 other branch
Removing vestigial code causing failing spec tests
Showing
33 changed files
with
0 additions
and
602 deletions
Show diff stats
app/views/choices/edit.html.erb
app/views/choices/index.html.erb
... | ... | @@ -1,18 +0,0 @@ |
1 | -<h1>Listing choices</h1> | |
2 | - | |
3 | -<table> | |
4 | - <tr> | |
5 | - </tr> | |
6 | - | |
7 | -<% @choices.each do |choice| %> | |
8 | - <tr> | |
9 | - <td><%= link_to 'Show', choice %></td> | |
10 | - <td><%= link_to 'Edit', edit_choice_path(choice) %></td> | |
11 | - <td><%= link_to 'Destroy', choice, :confirm => 'Are you sure?', :method => :delete %></td> | |
12 | - </tr> | |
13 | -<% end %> | |
14 | -</table> | |
15 | - | |
16 | -<br /> | |
17 | - | |
18 | -<%= link_to 'New choice', new_choice_path %> | |
19 | 0 | \ No newline at end of file |
app/views/choices/new.html.erb
app/views/choices/show.html.erb
app/views/clicks/edit.html.erb
... | ... | @@ -1,24 +0,0 @@ |
1 | -<h1>Editing click</h1> | |
2 | - | |
3 | -<% form_for(@click) do |f| %> | |
4 | - <%= f.error_messages %> | |
5 | - | |
6 | - <p> | |
7 | - <%= f.label :site_id %><br /> | |
8 | - <%= f.text_field :site_id %> | |
9 | - </p> | |
10 | - <p> | |
11 | - <%= f.label :visitor_id %><br /> | |
12 | - <%= f.text_field :visitor_id %> | |
13 | - </p> | |
14 | - <p> | |
15 | - <%= f.label :additional_info %><br /> | |
16 | - <%= f.text_area :additional_info %> | |
17 | - </p> | |
18 | - <p> | |
19 | - <%= f.submit 'Update' %> | |
20 | - </p> | |
21 | -<% end %> | |
22 | - | |
23 | -<%= link_to 'Show', @click %> | | |
24 | -<%= link_to 'Back', clicks_path %> | |
25 | 0 | \ No newline at end of file |
app/views/clicks/index.html.erb
... | ... | @@ -1,25 +0,0 @@ |
1 | - | |
2 | - | |
3 | -<h1>Clickstream</h1> | |
4 | - | |
5 | -<table> | |
6 | - <tr> | |
7 | - <th>Site</th> | |
8 | - <th>Visitor</th> | |
9 | - <th>Additional info</th> | |
10 | - </tr> | |
11 | - | |
12 | -<% @clicks.each do |click| %> | |
13 | - <tr> | |
14 | - <td><%=h click.site_id %></td> | |
15 | - <td><%=h click.visitor_id %></td> | |
16 | - <td><%=h click.what_was_clicked %></td> | |
17 | - <td><%= link_to 'Show', click %></td> | |
18 | - <td><%= link_to 'Destroy', click, :confirm => 'Are you sure?', :method => :delete %></td> | |
19 | - </tr> | |
20 | -<% end %> | |
21 | -</table> | |
22 | - | |
23 | -<br /> | |
24 | - | |
25 | -<%= link_to 'New click', new_click_path %> | |
26 | 0 | \ No newline at end of file |
app/views/clicks/new.html.erb
... | ... | @@ -1,23 +0,0 @@ |
1 | -<h1>New click</h1> | |
2 | - | |
3 | -<% form_for(@click) do |f| %> | |
4 | - <%= f.error_messages %> | |
5 | - | |
6 | - <p> | |
7 | - <%= f.label :site_id %><br /> | |
8 | - <%= f.text_field :site_id %> | |
9 | - </p> | |
10 | - <p> | |
11 | - <%= f.label :visitor_id %><br /> | |
12 | - <%= f.text_field :visitor_id %> | |
13 | - </p> | |
14 | - <p> | |
15 | - <%= f.label :additional_info %><br /> | |
16 | - <%= f.text_area :additional_info %> | |
17 | - </p> | |
18 | - <p> | |
19 | - <%= f.submit 'Create' %> | |
20 | - </p> | |
21 | -<% end %> | |
22 | - | |
23 | -<%= link_to 'Back', clicks_path %> | |
24 | 0 | \ No newline at end of file |
app/views/clicks/show.html.erb
... | ... | @@ -1,18 +0,0 @@ |
1 | -<p> | |
2 | - <b>Site:</b> | |
3 | - <%=h @click.site_id %> | |
4 | -</p> | |
5 | - | |
6 | -<p> | |
7 | - <b>Visitor:</b> | |
8 | - <%=h @click.visitor_id %> | |
9 | -</p> | |
10 | - | |
11 | -<p> | |
12 | - <b>Additional info:</b> | |
13 | - <%=h @click.additional_info %> | |
14 | -</p> | |
15 | - | |
16 | - | |
17 | -<%= link_to 'Edit', edit_click_path(@click) %> | | |
18 | -<%= link_to 'Back', clicks_path %> | |
19 | 0 | \ No newline at end of file |
app/views/prompts/edit.html.erb
app/views/prompts/index.html.erb
... | ... | @@ -1,18 +0,0 @@ |
1 | -<h1>Listing prompts</h1> | |
2 | - | |
3 | -<table> | |
4 | - <tr> | |
5 | - </tr> | |
6 | - | |
7 | -<% @prompts.each do |prompt| %> | |
8 | - <tr> | |
9 | - <td><%= link_to 'Show', prompt %></td> | |
10 | - <td><%= link_to 'Edit', edit_prompt_path(prompt) %></td> | |
11 | - <td><%= link_to 'Destroy', prompt, :confirm => 'Are you sure?', :method => :delete %></td> | |
12 | - </tr> | |
13 | -<% end %> | |
14 | -</table> | |
15 | - | |
16 | -<br /> | |
17 | - | |
18 | -<%= link_to 'New prompt', new_prompt_path %> | |
19 | 0 | \ No newline at end of file |
app/views/prompts/new.html.erb
app/views/prompts/show.html.erb
spec/routing/items_routing_spec.rb
... | ... | @@ -1,74 +0,0 @@ |
1 | -require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') | |
2 | - | |
3 | -describe ItemsController do | |
4 | - before(:all) do | |
5 | - | |
6 | - @aoi_clone = Factory.create(:user) | |
7 | - @valid_attributes = { | |
8 | - :site => @aoi_clone, | |
9 | - :creator => @aoi_clone.default_visitor | |
10 | - | |
11 | - } | |
12 | - @q = Question.create!(@valid_attributes) | |
13 | - end | |
14 | - | |
15 | - describe "route generation" do | |
16 | - it "maps #index" do | |
17 | - route_for(:controller => "items", :action => "index", :question_id => @q.id.to_s ).should == "/questions/#{@q.id}/items" | |
18 | - end | |
19 | - | |
20 | - it "maps #new" do | |
21 | - route_for(:controller => "items", :action => "new", :question_id => @q.id.to_s).should == "/questions/#{@q.id}/items/new" | |
22 | - end | |
23 | - | |
24 | - it "maps #show" do | |
25 | - route_for(:controller => "items", :action => "show", :id => "1", :question_id => @q.id.to_s).should == "/questions/#{@q.id}/items/1" | |
26 | - end | |
27 | - | |
28 | - it "maps #edit" do | |
29 | - route_for(:controller => "items", :action => "edit", :id => "1", :question_id => @q.id.to_s).should == "/questions/#{@q.id}/items/1/edit" | |
30 | - end | |
31 | - | |
32 | - it "maps #create" do | |
33 | - route_for(:controller => "items", :action => "create", :question_id => @q.id.to_s).should == {:path => "/questions/#{@q.id}/items", :method => :post} | |
34 | - end | |
35 | - | |
36 | - it "maps #update" do | |
37 | - route_for(:controller => "items", :action => "update", :id => "1", :question_id => @q.id.to_s).should == {:path =>"/questions/#{@q.id}/items/1", :method => :put} | |
38 | - end | |
39 | - | |
40 | - it "maps #destroy" do | |
41 | - route_for(:controller => "items", :action => "destroy", :id => "1", :question_id => @q.id.to_s).should == {:path =>"/questions/#{@q.id}/items/1", :method => :delete} | |
42 | - end | |
43 | - end | |
44 | - | |
45 | - describe "route recognition" do | |
46 | - it "generates params for #index" do | |
47 | - params_from(:get, "/questions/#{@q.id}/items").should == {:controller => "items", :action => "index", :question_id => @q.id.to_s} | |
48 | - end | |
49 | - | |
50 | - it "generates params for #new" do | |
51 | - params_from(:get, "/questions/#{@q.id}/items/new").should == {:controller => "items", :action => "new", :question_id => @q.id.to_s} | |
52 | - end | |
53 | - | |
54 | - it "generates params for #create" do | |
55 | - params_from(:post, "/questions/#{@q.id}/items").should == {:controller => "items", :action => "create", :question_id => @q.id.to_s} | |
56 | - end | |
57 | - | |
58 | - it "generates params for #show" do | |
59 | - params_from(:get, "/questions/#{@q.id}/items/1").should == {:controller => "items", :action => "show", :id => "1", :question_id => @q.id.to_s} | |
60 | - end | |
61 | - | |
62 | - it "generates params for #edit" do | |
63 | - params_from(:get, "/questions/#{@q.id}/items/1/edit").should == {:controller => "items", :action => "edit", :id => "1", :question_id => @q.id.to_s} | |
64 | - end | |
65 | - | |
66 | - it "generates params for #update" do | |
67 | - params_from(:put, "/questions/#{@q.id}/items/1").should == {:controller => "items", :action => "update", :id => "1", :question_id => @q.id.to_s} | |
68 | - end | |
69 | - | |
70 | - it "generates params for #destroy" do | |
71 | - params_from(:delete, "/questions/#{@q.id}/items/1").should == {:controller => "items", :action => "destroy", :id => "1", :question_id => @q.id.to_s} | |
72 | - end | |
73 | - end | |
74 | -end |
spec/views/choices/edit.html.erb_spec.rb
... | ... | @@ -1,18 +0,0 @@ |
1 | -require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper') | |
2 | - | |
3 | -describe "/choices/edit.html.erb" do | |
4 | - include ChoicesHelper | |
5 | - | |
6 | - before(:each) do | |
7 | - assigns[:choice] = @choice = stub_model(Choice, | |
8 | - :new_record? => false | |
9 | - ) | |
10 | - end | |
11 | - | |
12 | - it "renders the edit choice form" do | |
13 | - render | |
14 | - | |
15 | - response.should have_tag("form[action=#{choice_path(@choice)}][method=post]") do | |
16 | - end | |
17 | - end | |
18 | -end |
spec/views/choices/index.html.erb_spec.rb
... | ... | @@ -1,16 +0,0 @@ |
1 | -require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper') | |
2 | - | |
3 | -describe "/choices/index.html.erb" do | |
4 | - include ChoicesHelper | |
5 | - | |
6 | - before(:each) do | |
7 | - assigns[:choices] = [ | |
8 | - stub_model(Choice), | |
9 | - stub_model(Choice) | |
10 | - ] | |
11 | - end | |
12 | - | |
13 | - it "renders a list of choices" do | |
14 | - render | |
15 | - end | |
16 | -end |
spec/views/choices/new.html.erb_spec.rb
... | ... | @@ -1,18 +0,0 @@ |
1 | -require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper') | |
2 | - | |
3 | -describe "/choices/new.html.erb" do | |
4 | - include ChoicesHelper | |
5 | - | |
6 | - before(:each) do | |
7 | - assigns[:choice] = stub_model(Choice, | |
8 | - :new_record? => true | |
9 | - ) | |
10 | - end | |
11 | - | |
12 | - it "renders new choice form" do | |
13 | - render | |
14 | - | |
15 | - response.should have_tag("form[action=?][method=post]", choices_path) do | |
16 | - end | |
17 | - end | |
18 | -end |
spec/views/choices/show.html.erb_spec.rb
... | ... | @@ -1,12 +0,0 @@ |
1 | -require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper') | |
2 | - | |
3 | -describe "/choices/show.html.erb" do | |
4 | - include ChoicesHelper | |
5 | - before(:each) do | |
6 | - assigns[:choice] = @choice = stub_model(Choice) | |
7 | - end | |
8 | - | |
9 | - it "renders attributes in <p>" do | |
10 | - render | |
11 | - end | |
12 | -end |
spec/views/clicks/edit.html.erb_spec.rb
... | ... | @@ -1,24 +0,0 @@ |
1 | -require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper') | |
2 | - | |
3 | -describe "/clicks/edit.html.erb" do | |
4 | - include ClicksHelper | |
5 | - | |
6 | - before(:each) do | |
7 | - assigns[:click] = @click = stub_model(Click, | |
8 | - :new_record? => false, | |
9 | - :site_id => 1, | |
10 | - :visitor_id => 1, | |
11 | - :additional_info => "value for additional_info" | |
12 | - ) | |
13 | - end | |
14 | - | |
15 | - it "renders the edit click form" do | |
16 | - render | |
17 | - | |
18 | - response.should have_tag("form[action=#{click_path(@click)}][method=post]") do | |
19 | - with_tag('input#click_site_id[name=?]', "click[site_id]") | |
20 | - with_tag('input#click_visitor_id[name=?]', "click[visitor_id]") | |
21 | - with_tag('textarea#click_additional_info[name=?]', "click[additional_info]") | |
22 | - end | |
23 | - end | |
24 | -end |
spec/views/clicks/index.html.erb_spec.rb
... | ... | @@ -1,27 +0,0 @@ |
1 | -require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper') | |
2 | - | |
3 | -describe "/clicks/index.html.erb" do | |
4 | - include ClicksHelper | |
5 | - | |
6 | - before(:each) do | |
7 | - assigns[:clicks] = [ | |
8 | - stub_model(Click, | |
9 | - :site_id => 1, | |
10 | - :visitor_id => 1, | |
11 | - :additional_info => "value for additional_info" | |
12 | - ), | |
13 | - stub_model(Click, | |
14 | - :site_id => 1, | |
15 | - :visitor_id => 1, | |
16 | - :additional_info => "value for additional_info" | |
17 | - ) | |
18 | - ] | |
19 | - end | |
20 | - | |
21 | - it "renders a list of clicks" do | |
22 | - render | |
23 | - response.should have_tag("tr>td", 1.to_s, 2) | |
24 | - response.should have_tag("tr>td", 1.to_s, 2) | |
25 | - response.should have_tag("tr>td", "value for additional_info".to_s, 2) | |
26 | - end | |
27 | -end |
spec/views/clicks/new.html.erb_spec.rb
... | ... | @@ -1,24 +0,0 @@ |
1 | -require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper') | |
2 | - | |
3 | -describe "/clicks/new.html.erb" do | |
4 | - include ClicksHelper | |
5 | - | |
6 | - before(:each) do | |
7 | - assigns[:click] = stub_model(Click, | |
8 | - :new_record? => true, | |
9 | - :site_id => 1, | |
10 | - :visitor_id => 1, | |
11 | - :additional_info => "value for additional_info" | |
12 | - ) | |
13 | - end | |
14 | - | |
15 | - it "renders new click form" do | |
16 | - render | |
17 | - | |
18 | - response.should have_tag("form[action=?][method=post]", clicks_path) do | |
19 | - with_tag("input#click_site_id[name=?]", "click[site_id]") | |
20 | - with_tag("input#click_visitor_id[name=?]", "click[visitor_id]") | |
21 | - with_tag("textarea#click_additional_info[name=?]", "click[additional_info]") | |
22 | - end | |
23 | - end | |
24 | -end |
spec/views/clicks/show.html.erb_spec.rb
... | ... | @@ -1,19 +0,0 @@ |
1 | -require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper') | |
2 | - | |
3 | -describe "/clicks/show.html.erb" do | |
4 | - include ClicksHelper | |
5 | - before(:each) do | |
6 | - assigns[:click] = @click = stub_model(Click, | |
7 | - :site_id => 1, | |
8 | - :visitor_id => 1, | |
9 | - :additional_info => "value for additional_info" | |
10 | - ) | |
11 | - end | |
12 | - | |
13 | - it "renders attributes in <p>" do | |
14 | - render | |
15 | - response.should have_text(/1/) | |
16 | - response.should have_text(/1/) | |
17 | - response.should have_text(/value\ for\ additional_info/) | |
18 | - end | |
19 | -end |
spec/views/items/edit.html.erb_spec.rb
... | ... | @@ -1,18 +0,0 @@ |
1 | -require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper') | |
2 | - | |
3 | -describe "/items/edit.html.erb" do | |
4 | - include ItemsHelper | |
5 | - | |
6 | - before(:each) do | |
7 | - assigns[:item] = @item = stub_model(Item, | |
8 | - :new_record? => false | |
9 | - ) | |
10 | - end | |
11 | - | |
12 | - it "renders the edit item form" do | |
13 | - render | |
14 | - | |
15 | - response.should have_tag("form[action=#{item_path(@item)}][method=post]") do | |
16 | - end | |
17 | - end | |
18 | -end |
spec/views/items/index.html.erb_spec.rb
... | ... | @@ -1,16 +0,0 @@ |
1 | -require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper') | |
2 | - | |
3 | -describe "/items/index.html.erb" do | |
4 | - include ItemsHelper | |
5 | - | |
6 | - before(:each) do | |
7 | - assigns[:items] = [ | |
8 | - stub_model(Item), | |
9 | - stub_model(Item) | |
10 | - ] | |
11 | - end | |
12 | - | |
13 | - it "renders a list of items" do | |
14 | - render | |
15 | - end | |
16 | -end |
spec/views/items/new.html.erb_spec.rb
... | ... | @@ -1,18 +0,0 @@ |
1 | -require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper') | |
2 | - | |
3 | -describe "/items/new.html.erb" do | |
4 | - include ItemsHelper | |
5 | - | |
6 | - before(:each) do | |
7 | - assigns[:item] = stub_model(Item, | |
8 | - :new_record? => true | |
9 | - ) | |
10 | - end | |
11 | - | |
12 | - it "renders new item form" do | |
13 | - render | |
14 | - | |
15 | - response.should have_tag("form[action=?][method=post]", items_path) do | |
16 | - end | |
17 | - end | |
18 | -end |
spec/views/items/show.html.erb_spec.rb
... | ... | @@ -1,12 +0,0 @@ |
1 | -require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper') | |
2 | - | |
3 | -describe "/items/show.html.erb" do | |
4 | - include ItemsHelper | |
5 | - before(:each) do | |
6 | - assigns[:item] = @item = stub_model(Item) | |
7 | - end | |
8 | - | |
9 | - it "renders attributes in <p>" do | |
10 | - render | |
11 | - end | |
12 | -end |
spec/views/prompts/edit.html.erb_spec.rb
... | ... | @@ -1,18 +0,0 @@ |
1 | -require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper') | |
2 | - | |
3 | -describe "/prompts/edit.html.erb" do | |
4 | - include PromptsHelper | |
5 | - | |
6 | - before(:each) do | |
7 | - assigns[:prompt] = @prompt = stub_model(Prompt, | |
8 | - :new_record? => false | |
9 | - ) | |
10 | - end | |
11 | - | |
12 | - it "renders the edit prompt form" do | |
13 | - render | |
14 | - | |
15 | - response.should have_tag("form[action=#{prompt_path(@prompt)}][method=post]") do | |
16 | - end | |
17 | - end | |
18 | -end |
spec/views/prompts/index.html.erb_spec.rb
... | ... | @@ -1,16 +0,0 @@ |
1 | -require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper') | |
2 | - | |
3 | -describe "/prompts/index.html.erb" do | |
4 | - include PromptsHelper | |
5 | - | |
6 | - before(:each) do | |
7 | - assigns[:prompts] = [ | |
8 | - stub_model(Prompt), | |
9 | - stub_model(Prompt) | |
10 | - ] | |
11 | - end | |
12 | - | |
13 | - it "renders a list of prompts" do | |
14 | - render | |
15 | - end | |
16 | -end |
spec/views/prompts/new.html.erb_spec.rb
... | ... | @@ -1,18 +0,0 @@ |
1 | -require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper') | |
2 | - | |
3 | -describe "/prompts/new.html.erb" do | |
4 | - include PromptsHelper | |
5 | - | |
6 | - before(:each) do | |
7 | - assigns[:prompt] = stub_model(Prompt, | |
8 | - :new_record? => true | |
9 | - ) | |
10 | - end | |
11 | - | |
12 | - it "renders new prompt form" do | |
13 | - render | |
14 | - | |
15 | - response.should have_tag("form[action=?][method=post]", prompts_path) do | |
16 | - end | |
17 | - end | |
18 | -end |
spec/views/prompts/show.html.erb_spec.rb
... | ... | @@ -1,12 +0,0 @@ |
1 | -require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper') | |
2 | - | |
3 | -describe "/prompts/show.html.erb" do | |
4 | - include PromptsHelper | |
5 | - before(:each) do | |
6 | - assigns[:prompt] = @prompt = stub_model(Prompt) | |
7 | - end | |
8 | - | |
9 | - it "renders attributes in <p>" do | |
10 | - render | |
11 | - end | |
12 | -end |
spec/views/questions/edit.html.erb_spec.rb
... | ... | @@ -1,18 +0,0 @@ |
1 | -require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper') | |
2 | - | |
3 | -describe "/questions/edit.html.erb" do | |
4 | - include QuestionsHelper | |
5 | - | |
6 | - before(:each) do | |
7 | - assigns[:question] = @question = stub_model(Question, | |
8 | - :new_record? => false | |
9 | - ) | |
10 | - end | |
11 | - | |
12 | - it "renders the edit question form" do | |
13 | - render | |
14 | - | |
15 | - response.should have_tag("form[action=#{question_path(@question)}][method=post]") do | |
16 | - end | |
17 | - end | |
18 | -end |
spec/views/questions/index.html.erb_spec.rb
... | ... | @@ -1,16 +0,0 @@ |
1 | -require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper') | |
2 | - | |
3 | -describe "/questions/index.html.erb" do | |
4 | - include QuestionsHelper | |
5 | - | |
6 | - before(:each) do | |
7 | - assigns[:questions] = [ | |
8 | - stub_model(Question), | |
9 | - stub_model(Question) | |
10 | - ] | |
11 | - end | |
12 | - | |
13 | - it "renders a list of questions" do | |
14 | - render | |
15 | - end | |
16 | -end |
spec/views/questions/new.html.erb_spec.rb
... | ... | @@ -1,18 +0,0 @@ |
1 | -require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper') | |
2 | - | |
3 | -describe "/questions/new.html.erb" do | |
4 | - include QuestionsHelper | |
5 | - | |
6 | - before(:each) do | |
7 | - assigns[:question] = stub_model(Question, | |
8 | - :new_record? => true | |
9 | - ) | |
10 | - end | |
11 | - | |
12 | - it "renders new question form" do | |
13 | - render | |
14 | - | |
15 | - response.should have_tag("form[action=?][method=post]", questions_path) do | |
16 | - end | |
17 | - end | |
18 | -end |
spec/views/questions/show.html.erb_spec.rb
... | ... | @@ -1,12 +0,0 @@ |
1 | -require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper') | |
2 | - | |
3 | -describe "/questions/show.html.erb" do | |
4 | - include QuestionsHelper | |
5 | - before(:each) do | |
6 | - assigns[:question] = @question = stub_model(Question) | |
7 | - end | |
8 | - | |
9 | - it "renders attributes in <p>" do | |
10 | - render | |
11 | - end | |
12 | -end |