10 lines
243 B
Ruby
10 lines
243 B
Ruby
shared_context 'database configuration' do
|
|
|
|
before(:each) do
|
|
@db = SequelRails.connection
|
|
@repository = DataRepository::Backend::Sequel.new(@db, :visualizations)
|
|
CartoDB::Visualization.repository = @repository
|
|
end
|
|
|
|
end
|