Sha256: 9b1a024131309112e698c92f5679d2668e7aef72ef3c3b832593de7bdd60bf2b

Contents?: true

Size: 525 Bytes

Versions: 1

Compression:

Stored size: 525 Bytes

Contents

Given /^the asset "([^"]*)" does not exist within the theme$/ do |asset_name|
  # noop
end

Given /^the asset "([^"]*)" exists within the theme with this content:$/ do |asset_name, content|
  File.open(File.join(Noumenon.theme.path, "assets", asset_name), "w") { |f| f.print content }
end

Given /^I have uploaded this asset as "([^"]*)" to the asset repository$/ do |path, string|
  Noumenon.asset_repository.put(path, string)
end

Given /^there is no asset called "([^"]*)" in the asset repository$/ do |path|
  # noop
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
noumenon-0.2.3 lib/noumenon/cucumber/asset_steps.rb