From 266fce328a2ef714fcceba94f9f399ef9945657f Mon Sep 17 00:00:00 2001 From: Mike Tierney Date: Fri, 4 May 2012 10:29:26 -0700 Subject: [PATCH] Fix failing CLI specs. --- spec/artii/cli_spec.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spec/artii/cli_spec.rb b/spec/artii/cli_spec.rb index a499029..1b745ca 100644 --- a/spec/artii/cli_spec.rb +++ b/spec/artii/cli_spec.rb @@ -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