spec/lib/gametel/accessors_spec.rb in gametel-0.4 vs spec/lib/gametel/accessors_spec.rb in gametel-0.5
- old
+ new
@@ -156,9 +156,10 @@
context "spinners" do
it "should be able to determine their selected item" do
accumulator.should_receive(:id_from_name)
accumulator.should_receive(:get_view)
accumulator.should_receive(:get_selected_item)
+ accumulator.should_receive(:to_string)
result.should_receive(:body).and_return('the text value')
screen.spinner_id.should eq('the text value')
end
end
end