Actually, test the getter, too

This commit is contained in:
halo
2015-03-19 14:28:20 +01:00
parent 5ceced67c8
commit ab1b887d22

View File

@@ -169,7 +169,7 @@ describe 'actions' do
progress_bar = rmq.create(UIProgressView).data(0.5)
progress_bar.get.progress.should == 0.5
progress_bar.data(1)
progress_bar.get.progress.should == 1.0
progress_bar.data.should == 1.0
end
it 'should allow you to set data to nil' do