File: remove_json_spec.patch

package info (click to toggle)
ruby-simple-navigation 3.11.0-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 408 kB
  • ctags: 247
  • sloc: ruby: 4,038; makefile: 2
file content (28 lines) | stat: -rw-r--r-- 756 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Description: remove json_spec
 We cannot use json_spec yet, as it is not yet in the archive.
 Besides, only a single test needs it, not all of them, so remove
 it. The test requiring it will need to be skipped.
Author: Ben Armstrong <synrg@sanctuary.nslug.ns.ca>
Last-Update: 2013-08-11
Forwarded: no

--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,7 +1,7 @@
 ENV["RAILS_ENV"] = "test"
 require 'rubygems'
 require 'rspec'
-require 'json_spec'
+#require 'json_spec'
 require 'action_controller'
 
 module Rails
@@ -29,7 +29,7 @@ RSpec.configure do |config|
   # config.mock_with :flexmock
   # config.mock_with :rr
   config.mock_with :rspec
-  config.include JsonSpec::Helpers
+#  config.include JsonSpec::Helpers
 end
 
 # spec helper methods