mirror of
https://github.com/zhigang1992/ProMotion.git
synced 2026-04-24 04:15:49 +08:00
Basic test suite setup
This commit is contained in:
2
Gemfile
2
Gemfile
@@ -3,3 +3,5 @@ source 'https://rubygems.org'
|
||||
# Specify your gem's dependencies in ProMotion.gemspec
|
||||
gemspec
|
||||
|
||||
# Use this in development
|
||||
gem "motion-stump"
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
5
app/app_delegate.rb
Normal 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
0
spec/helpers/.gitkeep
Normal file
7
spec/main_spec.rb
Normal file
7
spec/main_spec.rb
Normal file
@@ -0,0 +1,7 @@
|
||||
describe "pro motion module" do
|
||||
|
||||
it "should have 'PM' module" do
|
||||
should.not.raise(NameError) { PM }
|
||||
end
|
||||
|
||||
end
|
||||
Reference in New Issue
Block a user