Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

Snapshot tests #168

Merged
merged 14 commits into from
Apr 18, 2015
Merged

Snapshot tests #168

merged 14 commits into from
Apr 18, 2015

Conversation

dzenbot
Copy link

@dzenbot dzenbot commented Apr 18, 2015

Liked described in to #134, we are adding snapshot tests to SLKTVC.

This PR includes:

It also includes minor tweaks to SLKTVC:

  • Adds slk_clearText:
  • Adds a hairline on top of the auto-completion view, to better separate the content from the control.

@end

@implementation MessageViewController

+ (instancetype)stub
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It will probably feel better if you have a category that exists in only your testing bundle that creates this stubbed version of the messageController

+ (instancetype)stubbedMessageViewController
{

}

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it can then set these Messages from below

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, totally. I made that change while back, and forgot to remove it. Good catch!

@dzenbot
Copy link
Author

dzenbot commented Apr 18, 2015

Thanks for the feedback @orta!

dzenbot referenced this pull request in neonichu/SlackTextViewController Apr 18, 2015
dzenbot pushed a commit that referenced this pull request Apr 18, 2015
Adds basic snapshot tests to SlackTextViewController
@dzenbot dzenbot merged commit df8e91c into master Apr 18, 2015
@dzenbot dzenbot deleted the snapshot-tests branch April 18, 2015 20:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants