config.generators do |g|
g.test_framework :rspec,
:fixtures => true,
:view_specs => false,
:helper_specs => false,
:routing_specs => false,
:controller_specs => true,
:request_specs => true
g.fixture_replacement :factory_girl, :dir => "spec/factories"
end
Sunday, 11 March 2018
Subscribe to:
Post Comments (Atom)
Revert last commit or second last and more....
Git revert commit_id -m 1 this command willl revert last commit Git revert commit_id -m 2 this command will revert second commit with same...
-
.wrap{ white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
-
Dir.glob("#{Rails.root}/public/reports/*")
-
1. rails g controller user index show in usercontroller copy and paste def index @users = User.all end def s...
This comment has been removed by the author.
ReplyDelete