Show More
Commit Description:
- start adding testcases into database...
Commit Description:
- start adding testcases into database - fix download button for score report (grafted from aabe2eab4ee28760618043fc980bb5d5aaca5311)
File last commit:
Show/Diff file:
Action:
spec/views/submissions/edit.html.haml_spec.rb | 15 lines | 389 B | text/x-ruby | RubyLexer |
- refactor into submission controller
r596 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