auto_test 0.0.8.8 → 0.0.8.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,3 @@
1
1
  module AutoTest
2
- VERSION = "0.0.8.8"
2
+ VERSION = "0.0.8.8.1"
3
3
  end
data/lib/auto_test.rb CHANGED
@@ -17,7 +17,8 @@ module AutoTest
17
17
  yield(configuration)
18
18
  end
19
19
  def self.start_rspec
20
- %x(rspec 'lib/spec/requests/auto_spec.rb -o 'log/rspec.txt'')
20
+ path = %x(gem which auto_test)
21
+ %x(rspec '#{path}/lib/spec/requests/auto_spec.rb -o 'log/rspec.txt'')
21
22
  end
22
23
 
23
24
  class Configuration
@@ -1,7 +1,7 @@
1
1
  require 'auto_test'
2
2
  namespace :auto_test do
3
3
  desc "starting the test"
4
- task :test do
4
+ task :default do
5
5
  puts "Running auto_test..."
6
6
  sh "rails server -e test -p 3002 -d"
7
7
  AutoTest.start_rspec
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: auto_test
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.8.8
5
+ version: 0.0.8.8.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Maike Hargens