Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated true_false_spec.rb to match new argument format for explanations

  • Loading branch information...
commit c24ef71937362aedb88c562b62d54c6ad8892f72 1 parent 7a429ae
Richard Xia authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  spec/true_false_spec.rb
View
2  spec/true_false_spec.rb
@@ -1,7 +1,7 @@
require 'spec_helper'
describe 'question with true answer' do
- before :each do ; @q = TrueFalse.new('true', true, 'why') ; end
+ before :each do ; @q = TrueFalse.new('true', true, :explanation => 'why') ; end
it 'should have True as correct answer' do
@q.correct_answer.answer_text.should == 'True'
end
Please sign in to comment.
Something went wrong with that request. Please try again.