Sha256: 06f2fce59a88e1bcd8b38c8b5243c4eb2fbd4e8490ca97dad16f80110e7a6c4f
Contents?: true
Size: 599 Bytes
Versions: 27
Compression:
Stored size: 599 Bytes
Contents
RequireSupportFiles File.dirname(__FILE__) + "/../../../edit_view/features/" def reset_project_fixtures if @put_myproject_fixture_back @put_myproject_fixture_back = nil FileUtils.mv("plugins/project/spec/fixtures/myproject.bak", "plugins/project/spec/fixtures/myproject") end fixtures_path = File.expand_path(File.dirname(__FILE__) + "/../../spec/fixtures") File.open(fixtures_path + "/winter.txt", "w") {|f| f.print "Wintersmith" } FileUtils.rm_rf(fixtures_path + "/winter2.txt") end Before do reset_project_fixtures end After do reset_project_fixtures end
Version data entries
27 entries across 27 versions & 1 rubygems