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)
File last commit:
Show/Diff file:
Action:
spec/views/submissions/edit.html.haml_spec.rb | 15 lines | 389 B | text/x-ruby | RubyLexer |
require 'spec_helper'
describe "submissions/edit" do
before(:each) do
@submission = assign(:submission, stub_model(Submission))
end
it "renders the edit submission form" do
render
# Run the generator again with the --webrat flag if you want to use webrat matchers
assert_select "form[action=?][method=?]", submission_path(@submission), "post" do
end
end
end