Routine weeding of the codebase (#163)
* Routine weeding of the codebase * fix the spec
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
FactoryBot.define do
|
||||
factory :channel_widget, class: 'Channel::Widget' do
|
||||
factory :channel_widget, class: 'Channel::WebWidget' do
|
||||
sequence(:website_name) { |n| "Example Website #{n}" }
|
||||
sequence(:website_url) { |n| "https://example-#{n}.com" }
|
||||
account
|
||||
|
||||
11
spec/fixtures/channel/widgets.yml
vendored
11
spec/fixtures/channel/widgets.yml
vendored
@@ -1,11 +0,0 @@
|
||||
# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
||||
|
||||
one:
|
||||
website_name: MyString
|
||||
website_url: MyString
|
||||
account_id: 1
|
||||
|
||||
two:
|
||||
website_name: MyString
|
||||
website_url: MyString
|
||||
account_id: 1
|
||||
7
spec/fixtures/channels.yml
vendored
7
spec/fixtures/channels.yml
vendored
@@ -1,7 +0,0 @@
|
||||
# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
||||
|
||||
one:
|
||||
name: MyString
|
||||
|
||||
two:
|
||||
name: MyString
|
||||
11
spec/fixtures/facebook_pages.yml
vendored
11
spec/fixtures/facebook_pages.yml
vendored
@@ -1,11 +0,0 @@
|
||||
# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
||||
|
||||
# This model initially had no columns defined. If you add columns to the
|
||||
# model remove the '{}' from the fixture names and add the columns immediately
|
||||
# below each fixture, per the syntax in the comments below
|
||||
#
|
||||
one: {}
|
||||
# column: value
|
||||
#
|
||||
two: {}
|
||||
# column: value
|
||||
Reference in New Issue
Block a user