Skip to content
Browse files

fixed old name issues

  • Loading branch information...
1 parent 5b43cad commit 9787ffd9a5ec29db5ffdf28742d8b38b757138ee rsl committed Jun 6, 2008
View
4 Rakefile
@@ -1,10 +1,10 @@
require 'rake'
require 'rake/rdoctask'
-desc 'Generate documentation for the Skinny Rspec plugin'
+desc 'Generate documentation for the Skinny Spec plugin'
Rake::RDocTask.new(:rdoc) do |rdoc|
rdoc.rdoc_dir = 'doc'
- rdoc.title = 'Skinny Rspec'
+ rdoc.title = 'Skinny Spec'
rdoc.options << '--line-numbers' << '--inline-source'
rdoc.rdoc_files.include('README.rdoc')
rdoc.rdoc_files.include('lib/**/*.rb')
View
3 generators/skinny_scaffold/templates/model_spec.rb
@@ -12,9 +12,10 @@ def valid_attributes(args = {})
end
# Add your model specs here, please!
- # And don't forget about the association matchers built-in to Skinny Rspec like:
+ # And don't forget about the association matchers built-in to skinny_spec like:
#
# it_should_have_many :foos
+ # it_should_validate_presence_of :bar
#
# Check out the docs for more information.
end
View
2 init.rb
@@ -1,3 +1,3 @@
if RAILS_ENV == "test"
- require "skinny_rspec"
+ require "skinny_spec"
end
View
2 lib/lucky_sneaks/controller_spec_helpers.rb
@@ -1,5 +1,5 @@
$:.unshift File.join(File.dirname(__FILE__), "..")
-require "skinny_rspec"
+require "skinny_spec"
module LuckySneaks
module ControllerSpecHelpers # :nodoc:
View
2 lib/lucky_sneaks/model_spec_helpers.rb
@@ -1,5 +1,5 @@
$:.unshift File.join(File.dirname(__FILE__), "..")
-require "skinny_rspec"
+require "skinny_spec"
module LuckySneaks
# These methods are designed to be used in your example [read: "it"] blocks
View
2 lib/lucky_sneaks/view_spec_helpers.rb
@@ -1,5 +1,5 @@
$:.unshift File.join(File.dirname(__FILE__), "..")
-require "skinny_rspec"
+require "skinny_spec"
module LuckySneaks
# These methods are designed to be used in your example [read: "it"] blocks
View
2 lib/skinny_rspec.rb → lib/skinny_spec.rb
@@ -6,7 +6,7 @@
require 'ruby2ruby'
rescue
puts "-----"
- puts "Attention: skinny_rspec requires ruby2ruby for nicer route descriptions"
+ puts "Attention: skinny_spec requires ruby2ruby for nicer route descriptions"
puts "It is highly recommended that you install it: sudo gem install ruby2ruby"
puts "-----"
end

0 comments on commit 9787ffd

Please sign in to comment.
Something went wrong with that request. Please try again.