Permalink
Browse files

Updated true_false_spec.rb to match new argument format for explanations

  • Loading branch information...
Richard Xia
Richard Xia committed May 22, 2012
1 parent 7a429ae commit c24ef71937362aedb88c562b62d54c6ad8892f72
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/true_false_spec.rb
View
@@ -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

0 comments on commit c24ef71

Please sign in to comment.