Skip to content

Commit

Permalink
Fix failing CLI specs.
Browse files Browse the repository at this point in the history
  • Loading branch information
miketierney committed May 4, 2012
1 parent c8e636e commit 266fce3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spec/artii/cli_spec.rb
Expand Up @@ -16,9 +16,9 @@


describe "font switching" do describe "font switching" do
context 'should set font if passed -f ' do context 'should set font if passed -f ' do
it "should set @font_name" do it "should set @a.font_name" do
a = Artii::CLI.new 'test', '-f', 'chunky' a = Artii::CLI.new 'test', '-f', 'chunky'
a.instance_variable_get(:@font_name).should == 'chunky.flf' a.instance_variable_get(:@a).font_name.should == 'chunky.flf'
end end


xit "should accept non-flf file formats" do xit "should accept non-flf file formats" do
Expand All @@ -33,9 +33,9 @@
end end


context 'should set font if passed --font' do context 'should set font if passed --font' do
it "set @font_name" do it "set @a.font_name" do
a = Artii::CLI.new 'test', '--font', 'chunky' a = Artii::CLI.new 'test', '--font', 'chunky'
a.instance_variable_get(:@font_name).should == 'chunky.flf' a.instance_variable_get(:@a).font_name.should == 'chunky.flf'
end end


it "should accept fonts in nested directories" do it "should accept fonts in nested directories" do
Expand Down

0 comments on commit 266fce3

Please sign in to comment.