spec/lib/sequel_rails/jdbc_spec.rb in sequel-rails-0.7.0 vs spec/lib/sequel_rails/jdbc_spec.rb in sequel-rails-0.8.0
- old
+ new
@@ -1,6 +1,6 @@
-require "spec_helper"
+require 'spec_helper'
describe SequelRails::Storage::Jdbc do
let(:adapter) { 'jdbc:mysql' }
let(:auto_reconnect) { true }
let(:connection_handling) { 'queue' }
@@ -24,17 +24,17 @@
'url' => "#{adapter}://#{host}/#{database}?password=#{password}&pool=#{pool}&autoReconnect=#{auto_reconnect}&timeout=#{timeout}&connection_handling=#{connection_handling}&user=#{user}"
}
end
let(:store) { described_class.new(config) }
- describe "#_root_url" do
+ describe '#_root_url' do
subject { store._root_url }
let(:expected) { "jdbc:mysql://#{host}" }
it { should == expected }
- context "with ip addresses" do
- let(:host) { '127.0.0.1'}
+ context 'with ip addresses' do
+ let(:host) { '127.0.0.1' }
it { should == expected }
end
end
end