Last active
November 18, 2015 00:30
-
-
Save markandrewj/3d13f26065912eceaafb to your computer and use it in GitHub Desktop.
Testing your factories
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Rakefile | |
if defined?(RSpec) | |
desc 'Run factory specs.' | |
RSpec::Core::RakeTask.new(:factory_specs) do |t| | |
t.pattern = './spec/factories_spec.rb' | |
end | |
end | |
task spec: :factory_specs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment