Skip to content

Commit

Permalink
rename update_database rake task to sync_database
Browse files Browse the repository at this point in the history
  • Loading branch information
joaomdmoura committed Jan 3, 2014
1 parent 857748f commit 8854fc7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/generators/gioco/rakes_generator.rb
Expand Up @@ -99,7 +99,7 @@ def create_rakes
'
end
}
task :update_database => :environment do
task :sync_database => :environment do
content = File.read("#{Rails.root}/db/gioco/db.rb")
eval content
end
Expand Down
Expand Up @@ -17,7 +17,7 @@
context "Using rake gioco:update_database to recreate all badges and relations" do

before :all do
`cd #{Rails.root}/; rake gioco:update_database`
`cd #{Rails.root}/; rake gioco:sync_database`
end

it "All Badges and Kinds should be created" do
Expand Down

0 comments on commit 8854fc7

Please sign in to comment.