Basic test suite setup

This commit is contained in:
Matt Brewer
2013-03-15 17:40:39 -04:00
parent b546237792
commit 5c4db681b7
6 changed files with 27 additions and 2 deletions

View File

@@ -3,3 +3,5 @@ source 'https://rubygems.org'
# Specify your gem's dependencies in ProMotion.gemspec
gemspec
# Use this in development
gem "motion-stump"

View File

@@ -1,14 +1,16 @@
PATH
remote: .
specs:
ProMotion (0.4.0)
ProMotion (0.5.1)
GEM
remote: http://rubygems.org/
remote: https://rubygems.org/
specs:
motion-stump (0.2.0)
PLATFORMS
ruby
DEPENDENCIES
ProMotion!
motion-stump

View File

@@ -782,3 +782,12 @@ If you need help, feel free to ping me on twitter @jamonholmgren or email jamon@
## Contributing
I'm really looking for feedback. Tweet me with your ideas or open a ticket (I don't mind!) and let's discuss.
### Submitting a Pull Request
1. Fork the project
2. Create a feature branch
3. Code
4. Update or create new specs
5. Make sure tests are passing by running `rake spec`
6. Submit pull request

5
app/app_delegate.rb Normal file
View File

@@ -0,0 +1,5 @@
class AppDelegate
def application(application, didFinishLaunchingWithOptions:launchOptions)
return true if RUBYMOTION_ENV == 'test'
end
end

0
spec/helpers/.gitkeep Normal file
View File

7
spec/main_spec.rb Normal file
View File

@@ -0,0 +1,7 @@
describe "pro motion module" do
it "should have 'PM' module" do
should.not.raise(NameError) { PM }
end
end