Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Problem with Fixture Bundle #1297

Closed
ogcyborg opened this Issue · 2 comments

2 participants

@ogcyborg

Hi,

I'm trying to set up my test environment and I can't seem to be able to set up a fixtureBundle. Here is the code I am trying;

NSBundle *fixtureBundle = [NSBundle bundleWithIdentifier:@"com.company.specs"];
[RKTestFixture setFixtureBundle:fixtureBundle];

My project is using Cocoapods and I followed the settings outlined by the Unit Testing Wiki page. What am I missing?

Thanks for the help :-)

@blakewatters

Is that bundle added to your test target and included in the build? The NSBundle bundleWithIdentifier: call should be able to find it if its available within the target.

@blakewatters blakewatters was assigned
@blakewatters

Hi @ogcyborg -

I pushed an example project for using the RKKiwiMatchers last night that includes configuration of the fixture bundle without issue. Take a look @ https://github.com/RestKit/RKKiwiMatchers/tree/master/Example for reference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.