From ab1b887d224a61020d7b504a8254797b94c9cdd2 Mon Sep 17 00:00:00 2001 From: halo Date: Thu, 19 Mar 2015 14:28:20 +0100 Subject: [PATCH] Actually, test the getter, too --- spec/actions.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/actions.rb b/spec/actions.rb index f69091f..6a99906 100644 --- a/spec/actions.rb +++ b/spec/actions.rb @@ -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