js-test-driver-rails 0.2.8 → 0.2.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/js_test_driver/runner.rb +2 -2
  3. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.8
1
+ 0.2.9
@@ -141,7 +141,7 @@ module JsTestDriver
141
141
  end
142
142
 
143
143
  def default_config_path
144
- root = defined?(RAILS_ROOT) ? RAILS_ROOT : '.'
144
+ root = defined?(::Rails) ? ::Rails.root.to_s : '.'
145
145
  return File.expand_path(File.join(root, 'config', 'js_test_driver.rb'))
146
146
  end
147
147
 
@@ -195,4 +195,4 @@ module JsTestDriver
195
195
 
196
196
  end
197
197
 
198
- end
198
+ end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: js-test-driver-rails
3
3
  version: !ruby/object:Gem::Version
4
- hash: 7
4
+ hash: 5
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 8
10
- version: 0.2.8
9
+ - 9
10
+ version: 0.2.9
11
11
  platform: ruby
12
12
  authors:
13
13
  - Adam Pohorecki