Show More
Commit Description:
- clean up link to problem stat and user stat
Commit Description:
- clean up link to problem stat and user stat
References:
File last commit:
Show/Diff file:
Action:
spec/views/submissions/new.html.haml_spec.rb | 15 lines | 371 B | text/x-ruby | RubyLexer |
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