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/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