(:data)
interpreted as grouped expression. 3RSpec.describe Import, type: :model do
4 let (:account) { Fabricate(:account) }
5 let (:type) { 'following' }
6 let (:data) { attachment_fixture('imports.txt') } 7
8 describe 'validations' do
9 it 'has a valid parameters' do
(:type)
interpreted as grouped expression. 2
3RSpec.describe Import, type: :model do
4 let (:account) { Fabricate(:account) }
5 let (:type) { 'following' } 6 let (:data) { attachment_fixture('imports.txt') }
7
8 describe 'validations' do
(:account)
interpreted as grouped expression. 1require 'rails_helper'
2
3RSpec.describe Import, type: :model do
4 let (:account) { Fabricate(:account) } 5 let (:type) { 'following' }
6 let (:data) { attachment_fixture('imports.txt') }
7
(:flag_id)
interpreted as grouped expression.38
39 describe '#perform with a defined uri' do
40 subject { described_class.new(json, sender) }
41 let (:flag_id) { 'http://example.com/reports/1' }42
43 before do
44 subject.perform
Do not put a space between method name and left parenthesis, it makes the code ambiguous to read.
puts (x + y)
puts(x + y)