You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: machine_with_scopes_test.rb
    path of file: ./repos/state_machines-activerecord/test
    
    the code of the file until where you have to start completion: require_relative 'test_helper'

class MachineWithScopesTest < BaseTestCase
  def setup
    @model = new_model
    @machine =
    
  def test_should_only_include_records_without_states_in_plural_without_scope
    parked = @model.create :state => 'parked'
    idling = @model.create :state => 'idling'
    @model.create :state => 'first_gear'

    assert_equal [parked, idling], @model.without_states(:first_gear).all
  end