Skip to content

Commit

Permalink
loader spec: updated #connection => #connector
Browse files Browse the repository at this point in the history
  • Loading branch information
dcunited001 committed Apr 7, 2013
1 parent 4422a87 commit 9550da6
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions spec/skiima/loader_spec.rb
Expand Up @@ -49,7 +49,7 @@


describe "#config" do
before(:each) { Skiima::Loader.any_instance.expects(:make_connection).returns(true) }
before(:each) { Skiima::Loader.any_instance.expects(:create_connector).returns(true) }
let(:config_path) { 'config' }
let(:db_yml) { 'database.yml' }

Expand All @@ -65,14 +65,14 @@
end
end

describe "Logger: " do
before(:each) { Skiima::Loader.any_instance.expects(:make_connection).returns(true) }

it "creates a logger with the correct options" do
#subject.logger.class.must_equal ::Logger
subject.logger.class.must_equal Skiima::Logger
end
end
#describe "Logger: " do
# before(:each) { Skiima::Loader.any_instance.expects(:create_connector).returns(true) }
#
# it "creates a logger with the correct options" do
# #subject.logger.class.must_equal ::Logger
# subject.logger.class.must_equal Skiima::Logger
# end
#end

# describe "Implementation: " do
# let(:groups) { groups = %w(friend team_member) }
Expand Down

0 comments on commit 9550da6

Please sign in to comment.