Permalink
Browse files

Fix failing CLI specs.

  • Loading branch information...
1 parent c8e636e commit 266fce328a2ef714fcceba94f9f399ef9945657f @miketierney committed May 4, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 spec/artii/cli_spec.rb
View
@@ -16,9 +16,9 @@
describe "font switching" 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.instance_variable_get(:@font_name).should == 'chunky.flf'
+ a.instance_variable_get(:@a).font_name.should == 'chunky.flf'
end
xit "should accept non-flf file formats" do
@@ -33,9 +33,9 @@
end
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.instance_variable_get(:@font_name).should == 'chunky.flf'
+ a.instance_variable_get(:@a).font_name.should == 'chunky.flf'
end
it "should accept fonts in nested directories" do

0 comments on commit 266fce3

Please sign in to comment.