HI Elton, It “worked” on my machine. By “worked” I mean the test ran past the `get` and then had an error further along. Hopefully the next error is a little easier for you to see the solution.
By the way, it’s common practice to use `described_class`, which is a variable set by RSpec. Thanks and Kindest Regards, Peter Fitzgibbons (224) 307-9689 On Wed, Feb 1, 2017 at 8:48 PM, Elton Santos <[email protected]> wrote: > Dont is a module: > > require "spec_helper" > require "locaweb_twitter" > > RSpec.describe LocawebTwitter do > include Rack::Test::Methods > > def app > Sinatra::Application > end > > and dont work this: > > def app > LocawebTwitter > end > > -- > -- > SD Ruby mailing list > [email protected] > http://groups.google.com/group/sdruby > --- > You received this message because you are subscribed to the Google Groups > "SD Ruby" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- -- SD Ruby mailing list [email protected] http://groups.google.com/group/sdruby --- You received this message because you are subscribed to the Google Groups "SD Ruby" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
