Sha256: 96aba94eaf0a72f4f89ce02fc0e9cf2e89119e29bfafd57bbe26044ff42117b0

Contents?: true

Size: 259 Bytes

Versions: 4

Compression:

Stored size: 259 Bytes

Contents

require "spec_helper"

class CommandConverter < Luobo
  def process!
    "OK"
  end
end

describe Luobo do
  it "exports a class method convert!" do
    CommandConverter.convert!('examples/hello_processor.rb', STDOUT).should eq("OK")
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
luobo-0.1.3 spec/command_spec.rb
luobo-0.1.2 spec/command_spec.rb
luobo-0.0.5 spec/command_spec.rb
luobo-0.1.0 spec/command_spec.rb