Sha256: 5f8a7ee9375a95a630fa48f8c696c2b17b6c0261bcbc18c5d5a00451cd20fde1
Contents?: true
Size: 508 Bytes
Versions: 15
Compression:
Stored size: 508 Bytes
Contents
require 'spec_helper' describe MB::Gear::MySQL do subject { described_class } it "is registered with MB::Gear" do MB::Gear.all.should include(subject) end it "has the inferred keyword ':mysql' from it's Class name" do subject.keyword.should eql(:mysql) end describe "#action" do subject { described_class.new } it "returns a Gear::MySQL::Action" do subject.action("select * from boxes", data_bag: {name: "creds"}).should be_a(MB::Gear::MySQL::Action) end end end
Version data entries
15 entries across 15 versions & 1 rubygems