Sha256: 43c23156a6f40f1fb4758478cd5a0e0941ef177096824ac24e1b8ddf1190c499

Contents?: true

Size: 484 Bytes

Versions: 10

Compression:

Stored size: 484 Bytes

Contents

require "spec_helper"
require "command/runner"

which_node = Command::Runner.new("which", "node")

if which_node.backend.class != Command::Runner::Backends::Backticks &&
   which_node.run.successful?
describe "Node support" do
  describe "with fixtures" do

    Dir.glob("spec/fixtures/*.yml") do |file|
      content = YAML.load_file file
      file =~ /spec\/fixtures\/(.*)\.yml/

      it "generates #{$1}" do
        expect(content["data"]).to run
      end
    end
  end
end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
liquidscript-0.7.1 spec/liquidscript/node_spec.rb
liquidscript-0.7.0 spec/liquidscript/node_spec.rb
liquidscript-0.6.5 spec/liquidscript/node_spec.rb
liquidscript-0.6.4 spec/liquidscript/node_spec.rb
liquidscript-0.6.3 spec/liquidscript/node_spec.rb
liquidscript-0.6.2 spec/liquidscript/node_spec.rb
liquidscript-0.6.1 spec/liquidscript/node_spec.rb
liquidscript-0.6.0 spec/liquidscript/node_spec.rb
liquidscript-0.5.1 spec/liquidscript/node_spec.rb
liquidscript-0.5.0 spec/liquidscript/node_spec.rb