Skip to content

Commit

Permalink
todo in rspec
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Kim committed Jun 18, 2015
1 parent 8a5c89a commit fea2ee1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/flavor_gem/rspec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ module Generate
class Rspec < Thor::Group
include Thor::Actions

# TODO
def delete_minitest_rake
end

def append_rakefile
append_template_to_file "Rakefile", "rspec.rake"
end
Expand Down
4 changes: 4 additions & 0 deletions spec/helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ def backup(file_name, copy: false)
end
end

def rm(file_name)
FileUtils.rm file_name
end

def restore(file_name)
file_name_bak = "#{file_name}.bak"
FileUtils.mv(file_name_bak, file_name) if File.exist?(file_name_bak)
Expand Down

0 comments on commit fea2ee1

Please sign in to comment.