Commit 6fccadb8 authored by charlie-ablett's avatar charlie-ablett

Add description method to conversion step

parent 23ec1bed
PATH
remote: .
specs:
ink_step (0.1.6)
ink_step (0.1.7)
awesome_print
httparty
rubyzip
......
......@@ -15,5 +15,8 @@ module InkStep
end
end
def self.description
"A generic step to facilitate conversion"
end
end
end
\ No newline at end of file
module InkStep
VERSION = '0.1.6'
VERSION = '0.1.7'
end
\ No newline at end of file
require 'spec_helper'
require 'ink_step/base'
require 'ink_step/conversion_step'
require 'ostruct'
describe InkStep::Base do
......@@ -133,6 +134,7 @@ describe InkStep::Base do
context "if InkStep::Base is being used (for some reason? it doesn't do anything really :P)" do
specify do
expect(InkStep::Base.description).to eq "A basic step that returns the files you provide unchanged"
expect(InkStep::ConversionStep.description).to eq "A generic step to facilitate conversion"
end
end
context "for a subclass" do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment