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

Version Path
redcar-0.7 plugins/project/features/support/env.rb
redcar-0.6.1 plugins/project/features/support/env.rb
redcar-0.6 plugins/project/features/support/env.rb
redcar-0.6.1dev plugins/project/features/support/env.rb
redcar-0.5.1 plugins/project/features/support/env.rb
redcar-0.5 plugins/project/features/support/env.rb
redcar-0.5.6dev plugins/project/features/support/env.rb
redcar-0.5.5dev plugins/project/features/support/env.rb
redcar-0.5.4dev plugins/project/features/support/env.rb
redcar-0.5.3dev plugins/project/features/support/env.rb
redcar-0.5.2dev plugins/project/features/support/env.rb
redcar-0.5.1dev plugins/project/features/support/env.rb
redcar-0.4.1 plugins/project/features/support/env.rb
redcar-0.4 plugins/project/features/support/env.rb
redcar-0.3.10.1dev plugins/project/features/support/env.rb
redcar-0.3.10.0dev plugins/project/features/support/env.rb
redcar-0.3.9 plugins/project/features/support/env.rb
redcar-0.3.9.0dev plugins/project/features/support/env.rb
redcar-0.3.8.4 plugins/project/features/support/env.rb
redcar-0.3.8.3 plugins/project/features/support/env.rb