Show More
Commit Description:
- clean up link to problem stat and user stat...
Commit Description:
- clean up link to problem stat and user stat
(grafted from 45d1e12e9794a23a5431222fe2f4c7461d73a529)
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 | ||||