diff --git a/hobo_fields/test/interactive_primary_key.rdoctest b/hobo_fields/test/interactive_primary_key.rdoctest index 0227de844..1457a12b0 100644 --- a/hobo_fields/test/interactive_primary_key.rdoctest +++ b/hobo_fields/test/interactive_primary_key.rdoctest @@ -31,6 +31,7 @@ And requires also that you enter the right choice when prompted. OK we're ready class Foo < ActiveRecord::Base set_primary_key "id" end + puts "\n\e[45m Please enter 'id' (no quotes) at the next prompt \e[0m" >> Rails::Generators.invoke 'hobo:migration', %w(-n -m) >> Foo.primary_key => 'id' @@ -42,6 +43,7 @@ And requires also that you enter the right choice when prompted. OK we're ready class Foo < ActiveRecord::Base set_primary_key "foo_id" end + puts "\n\e[45m Please enter 'drop id' (no quotes) at the next prompt \e[0m" >> Rails::Generators.invoke 'hobo:migration', %w(-n -m) >> Foo.primary_key => 'foo_id'