StackOverflow Questions for Tag: ruby-mocha

AJFaraday
AJFaraday

Reputation: 2450

RSpec, Mocha and Rubymine - Undefined method `mocha_setup'

Score: 0

Views: 197

Answers: 1

Read More
croceldon
croceldon

Reputation: 4615

Why is mocha not stubbing this method in my Rails 3 integration test?

Score: 0

Views: 237

Answers: 1

Read More
Evan
Evan

Reputation: 271

Is there a Mocha equivalent of Rspec’s “mock().as_null_object”?

Score: 11

Views: 1284

Answers: 1

Read More
Cloud_cal
Cloud_cal

Reputation: 142

How does Ruby Mocha stub a nested hash?

Score: 1

Views: 1124

Answers: 1

Read More
Cloud_cal
Cloud_cal

Reputation: 142

How to stub a method that is also the name of a hash in ruby?

Score: 1

Views: 199

Answers: 0

Read More
62mkv
62mkv

Reputation: 1542

Can not run any unit test for Redmine with Ruby 2.0.0 under Windows. Is that at all possible?

Score: 3

Views: 355

Answers: 1

Read More
00dani
00dani

Reputation: 1528

Having never written any automated tests, how should I start behaviour-driven development?

Score: 6

Views: 312

Answers: 2

Read More
aceofspades
aceofspades

Reputation: 7586

Set expectation of method call while still calling original implementation

Score: 13

Views: 4002

Answers: 1

Read More
user1032752
user1032752

Reputation: 881

Minitest/Mocha: Testing that a value changes multiple times

Score: 0

Views: 195

Answers: 1

Read More
PrimaryFeather
PrimaryFeather

Reputation: 499

Ruby Mocha Unittest can't find "has_key" method

Score: 0

Views: 246

Answers: 1

Read More
Marc Vitalis
Marc Vitalis

Reputation: 2249

Cannot load gem in IronRuby

Score: 1

Views: 1792

Answers: 1

Read More
user175750
user175750

Reputation: 766

Mocking Sort With Mocha

Score: 1

Views: 819

Answers: 1

Read More
jonas-schulze
jonas-schulze

Reputation: 268

Rails rspec undefined method `receive' for #<RSpec::ExampleGroups::

Score: 1

Views: 2251

Answers: 1

Read More
Rimian
Rimian

Reputation: 38458

Ruby Mocha expect the first argument to be a symbol

Score: 1

Views: 522

Answers: 1

Read More
max pleaner
max pleaner

Reputation: 26788

minitest - expect a method to be called when it was extended from a Module

Score: 3

Views: 960

Answers: 0

Read More
Mike Riley
Mike Riley

Reputation: 292

Konacha, Mocha, BackboneJS and Ruby on Rails configuration

Score: 0

Views: 218

Answers: 1

Read More
sschmeck
sschmeck

Reputation: 7713

Mock Time.now with mocha

Score: 0

Views: 400

Answers: 1

Read More
Xbox ForSale
Xbox ForSale

Reputation: 11

Mocha expected at most once, invoked twice, but method is clearly invoked only once

Score: 1

Views: 3726

Answers: 1

Read More
Rooktone
Rooktone

Reputation: 109

Testing rack-timeout in sinatra and ruby

Score: 2

Views: 1544

Answers: 1

Read More
Matheus Richard
Matheus Richard

Reputation: 734

How to stub a module method inside a controller with Mocha

Score: 4

Views: 2307

Answers: 1

Read More
PreviousPage 3Next