Instagram test and Instagram node fixes

This is my work on adding the Instagram tests. A few issues might need to be sorted. I'll make comments in-line detailing these.
Yes I have, forgot to remove the TODO marker. :( Thanks
On 16 Oct 2014 20:51, "Mark Hindess" <notifications@github.com> wrote:

> In test/instagram/instagram_spec.js:
>
> > + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
> > + * See the License for the specific language governing permissions and
> > + * limitations under the License.
> > + **/
> > +
> > +var should = require("should");
> > +var sinon = require('sinon');
> > +
> > +var instagramNode = require("../../instagram/instagram.js");
> > +
> > +var helper = require('../helper.js');
> > +var nock = helper.nock;
> > +
> > +var testInterval;
> > +
> > +var firstCallOfStub = true; // TODO horrible solution but how do I "unstub" node.warn?
>
> Try stub.restore()?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/node-red/node-red-web-nodes/pull/40/files#r18981525>.
>