spec/sitehub/cookie/attribute_spec.rb in sitehub-0.4.2 vs spec/sitehub/cookie/attribute_spec.rb in sitehub-0.4.3
- old
+ new
@@ -1,10 +1,10 @@
class SiteHub
class Cookie
describe Attribute do
- let(:attribute_name){'domain'}
- let(:attribute_value){'value'}
+ let(:attribute_name) { 'domain' }
+ let(:attribute_value) { 'value' }
subject do
described_class.new(attribute_name, attribute_value)
end
describe '#initialize' do
it 'stores the attribute name and its value' do
@@ -32,6 +32,6 @@
expect(subject.to_s).to eq("#{attribute_name}=#{attribute_value}")
end
end
end
end
-end
\ No newline at end of file
+end