Permalink
Browse files

starting scenarios for changing/bumping project version number

  • Loading branch information...
1 parent cb8f73d commit f343e5cacad0f053fb8351b10d6e45091fa614db @drnic drnic committed Jan 27, 2009
Showing with 10 additions and 0 deletions.
  1. +5 −0 features/rake_tasks.feature
  2. +5 −0 features/steps/xcode_steps.rb
View
5 features/rake_tasks.feature
@@ -36,4 +36,9 @@ Feature: Rake tasks are available to build and deploy Cocoa apps with Sparkle
Then remote file 'SampleApp-0.1.0.dmg' is created
Then remote file 'index.php' is created
+ Scenario: change the version number in the Info.plist
+ Given a Cocoa app with choctop installed
+ When task 'rake version:set VERSION="1.2.3"' is invoked
+ Then current xcode project version is '1.2.3'
+
View
5 features/steps/xcode_steps.rb
@@ -0,0 +1,5 @@
+Then /^current xcode project version is '(.*)'$/ do |version|
+ in_project_folder do
+ ChocTop.new.version.to_s.should == version
+ end
+end

0 comments on commit f343e5c

Please sign in to comment.