mirror of
https://github.com/zhigang1992/rmq.git
synced 2026-01-12 17:52:17 +08:00
Actually, test the getter, too
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user