Skip to content

Commit

Permalink
We don't need these specs
Browse files Browse the repository at this point in the history
  • Loading branch information
kencorley authored Sep 28, 2023
1 parent f95e75d commit fb76d1b
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions spec/active_force/active_query_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,23 +51,13 @@
result = active_query.where("Text_Label = 'foo'").blank?
expect(result).to be true
end

it 'returns true' do
result = active_query.where("Text_Label = 'foo'").first.blank?
expect(result).to be true
end
end

context 'when records are returned' do
it 'returns false' do
result = active_query.where("Text_Label = 'foo'").blank?
expect(result).to be false
end

it 'returns false' do
result = active_query.where("Text_Label = 'foo'").first.blank?
expect(result).to be false
end
end
end

Expand All @@ -83,23 +73,13 @@
result = active_query.where("Text_Label = 'foo'").present?
expect(result).to be false
end

it 'returns false' do
result = active_query.where("Text_Label = 'foo'").first.present?
expect(result).to be false
end
end

context 'when there are records' do
it 'returns true' do
result = active_query.where("Text_Label = 'foo'").present?
expect(result).to be true
end

it 'returns true' do
result = active_query.where("Text_Label = 'foo'").first.present?
expect(result).to be true
end
end
end

Expand Down

0 comments on commit fb76d1b

Please sign in to comment.