refinerycms-testing 0.9.9.4 → 0.9.9.5

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.
@@ -195,7 +195,7 @@ end
195
195
  Then /^(?:|I )should be on (.+)$/ do |page_name|
196
196
  current_path = URI.parse(current_url).path
197
197
  if current_path.respond_to? :should
198
- current_path.should == path_to(page_name)
198
+ path_to(page_name).should == current_path
199
199
  else
200
200
  assert_equal path_to(page_name), current_path
201
201
  end
@@ -9,7 +9,7 @@ require 'refinerycms-base'
9
9
  def setup_environment
10
10
  ENV["RAILS_ENV"] ||= "test"
11
11
 
12
- if RbConfig::CONFIG["host_os"] =~ %r!(msdos|mswin|djgpp|mingw)!
12
+ if Refinery::WINDOWS
13
13
  puts "Win32 users may experience cucumber/formatter/unicode errors. Requirement ommited, see: /features/support/env.rb to re-add."
14
14
  else
15
15
  require 'cucumber/formatter/unicode' # Remove this line if you don't want Cucumber Unicode support
@@ -69,7 +69,7 @@ end
69
69
 
70
70
  require 'rubygems'
71
71
  # If spork is available in the Gemfile it'll be used but we don't force it.
72
- unless RbConfig::CONFIG["host_os"] =~ %r!(msdos|mswin|djgpp|mingw)! or (begin; require 'spork'; rescue LoadError; nil end).nil?
72
+ unless (begin; require 'spork'; rescue LoadError; nil end).nil?
73
73
  Spork.prefork do
74
74
  setup_environment
75
75
  end
@@ -2,10 +2,10 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{refinerycms-testing}
5
- s.version = %q{0.9.9.4}
5
+ s.version = %q{0.9.9.5}
6
6
  s.summary = %q{Testing plugin for Refinery CMS}
7
7
  s.description = %q{This plugin adds the ability to run cucumber and rspec against the RefineryCMS gem while inside a RefineryCMS project}
8
- s.date = %q{2011-02-24}
8
+ s.date = %q{2011-03-08}
9
9
  s.email = %q{info@refinerycms.com}
10
10
  s.homepage = %q{http://refinerycms.com}
11
11
  s.rubyforge_project = %q{refinerycms}
@@ -14,7 +14,7 @@ Gem::Specification.new do |s|
14
14
  s.require_paths = %w(lib)
15
15
  s.executables = %w()
16
16
 
17
- s.add_dependency 'refinerycms-core', '~> 0.9.9.4'
17
+ s.add_dependency 'refinerycms-core', '~> 0.9.9.5'
18
18
  # RSpec
19
19
  s.add_dependency 'rspec-rails', '~> 2.5'
20
20
 
data/spec/spec_helper.rb CHANGED
@@ -35,8 +35,7 @@ end
35
35
 
36
36
  require 'rubygems'
37
37
  # If spork is available in the Gemfile it'll be used but we don't force it.
38
- unless RbConfig::CONFIG["host_os"] =~ %r!(msdos|mswin|djgpp|mingw)! or (begin; require 'spork'; rescue LoadError; nil end).nil?
39
- require 'spork'
38
+ unless (begin; require 'spork'; rescue LoadError; nil end).nil?
40
39
 
41
40
  Spork.prefork do
42
41
  # Loading more in this block will cause your tests to run faster. However,
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: refinerycms-testing
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.9.9.4
5
+ version: 0.9.9.5
6
6
  platform: ruby
7
7
  authors:
8
8
  - Philip Arndt
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-02-24 00:00:00 +13:00
13
+ date: 2011-03-08 00:00:00 +13:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -21,7 +21,7 @@ dependencies:
21
21
  requirements:
22
22
  - - ~>
23
23
  - !ruby/object:Gem::Version
24
- version: 0.9.9.4
24
+ version: 0.9.9.5
25
25
  type: :runtime
26
26
  version_requirements: *id001
27
27
  - !ruby/object:Gem::Dependency
@@ -214,7 +214,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
214
214
  requirements: []
215
215
 
216
216
  rubyforge_project: refinerycms
217
- rubygems_version: 1.5.2
217
+ rubygems_version: 1.6.0
218
218
  signing_key:
219
219
  specification_version: 3
220
220
  summary: Testing plugin for Refinery CMS