Show More
Commit Description:
fix destroy button link
Commit Description:
fix destroy button link
References:
File last commit:
Show/Diff file:
Action:
spec/views/submissions/new.html.haml_spec.rb
| 15 lines
| 371 B
| text/x-ruby
| RubyLexer
|
r596 | require 'spec_helper' | |||
describe "submissions/new" do | ||||
before(:each) do | ||||
assign(:submission, stub_model(Submission).as_new_record) | ||||
end | ||||
it "renders new submission form" do | ||||
render | ||||
# Run the generator again with the --webrat flag if you want to use webrat matchers | ||||
assert_select "form[action=?][method=?]", submissions_path, "post" do | ||||
end | ||||
end | ||||
end | ||||