Skip to content

Commit

Permalink
Fix RSpec deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
hypomodern committed Jun 23, 2014
1 parent 845e0cb commit df22413
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .rspec
@@ -1,2 +1,2 @@
--color
--format nested
--format documentation
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Expand Up @@ -29,5 +29,5 @@ class TemplateFoo
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}

RSpec.configure do |config|

config.infer_spec_type_from_file_location!
end
2 changes: 1 addition & 1 deletion spec/stache/config_spec.rb
Expand Up @@ -35,7 +35,7 @@
end

it "sets a default value for include_path_in_id" do
Stache.send(:include_path_in_id).should be_false
Stache.send(:include_path_in_id).should be false
end
end

Expand Down
4 changes: 2 additions & 2 deletions spec/stache/util_spec.rb
Expand Up @@ -10,8 +10,8 @@
Stache::Util.av_template_class("Foo").should == ActionView::TemplateFoo
end
end

describe ".needs_compilable?" do
pending "need to figure out some way to test this across different rails versions..."
skip "need to figure out some way to test this across different rails versions..."
end
end

0 comments on commit df22413

Please sign in to comment.